#262996#262996

#262996 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.173 H 272.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#262996
RGBrgb(38, 41, 150)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(74.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(24.32, 36.74, -59.58)
CIE-LCHlch(24.32, 70.00, 301.66°)
OKLaboklab(36.3% 0.0079 -0.1724)
OKLCHoklch(36.3% 0.173 272.6)
XYZxyz(7.0954, 4.1992, 29.2848)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262996 #969326
analogous
#266196 #262996 #5B2696
triadic
#262996 #962629 #299626
tetradic
#262996 #962661 #969326 #26965B
square
#262996 #962661 #969326 #26965B
split-complementary
#262996 #965B26 #619626
monochromatic
#0D0E34 #1A1C65 #262996 #3236C7 #6063D7

Accessibility & contrast

On white

11.41
#262996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#262996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262996
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262996#FFFFFF#000000##FFFFFF
##2629961.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262996;
/* rgb */ color: rgb(38, 41, 150);
/* oklch */ color: oklch(36.3% 0.173 272.6);
Tailwind
colors: {
  custom: {
    50: '#7364b6',
    500: '#262996',
    950: '#000000',
  },
}
SCSS
$custom: #262996;
$custom-light: #7364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262996",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 238.393,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36297,
    "c": 0.17256,
    "h": 272.6
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#262996
secondary
#BCB95C
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262996

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#262996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva