#262B76#262B76

#262B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.126 H 274.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#262B76
RGBrgb(38, 43, 118)
HSLhsl(236, 51%, 31%)
HSVhsv(236, 68%, 46%)
CMYKcmyk(67.8%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.75, 23.77, -43.73)
CIE-LCHlch(21.75, 49.77, 298.52°)
OKLaboklab(33.5% 0.0097 -0.126)
OKLCHoklch(33.5% 0.126 274.4)
XYZxyz(4.9321, 3.4474, 17.5415)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B76 #767126
analogous
#265376 #262B76 #492676
triadic
#262B76 #76262B #2B7626
tetradic
#262B76 #762653 #767126 #267649
square
#262B76 #762653 #767126 #267649
split-complementary
#262B76 #764926 #537626
monochromatic
#080919 #171A48 #262B76 #353CA4 #5057C7

Accessibility & contrast

On white

12.43
#262B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B76
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B76#FFFFFF#000000##FFFFFF
##262B761.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262b76;
/* rgb */ color: rgb(38, 43, 118);
/* oklch */ color: oklch(33.5% 0.126 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b649e',
    500: '#262b76',
    950: '#000000',
  },
}
SCSS
$custom: #262b76;
$custom-light: #6b649e;
$custom-dark: #000000;
JSON
{
  "hex": "#262b76",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 236.25,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33499,
    "c": 0.12636,
    "h": 274.4
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#262B76
secondary
#A8A34F
accent
#D24DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262B76

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

Preview Lab → · Contrast checker → · Palette generator →

#262B76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva