#262E76#262E76

#262E76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.122 H 273.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#262E76
RGBrgb(38, 46, 118)
HSLhsl(234, 51%, 31%)
HSVhsv(234, 68%, 46%)
CMYKcmyk(67.8%, 61%, 0%, 53.7%)
CIE-LABlab(22.56, 21.70, -42.42)
CIE-LCHlch(22.56, 47.65, 297.09°)
OKLaboklab(34.1% 0.0069 -0.1221)
OKLCHoklch(34.1% 0.122 273.2)
XYZxyz(5.0453, 3.6736, 17.5792)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E76 #766E26
analogous
#265676 #262E76 #462676
triadic
#262E76 #76262E #2E7626
tetradic
#262E76 #762656 #766E26 #267646
square
#262E76 #762656 #766E26 #267646
split-complementary
#262E76 #764626 #567626
monochromatic
#080A19 #171C48 #262E76 #3540A4 #505CC7

Accessibility & contrast

On white

12.11
#262E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E76
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E76#FFFFFF#000000##FFFFFF
##262E761.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262e76;
/* rgb */ color: rgb(38, 46, 118);
/* oklch */ color: oklch(34.1% 0.122 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b669e',
    500: '#262e76',
    950: '#000000',
  },
}
SCSS
$custom: #262e76;
$custom-light: #6b669e;
$custom-dark: #000000;
JSON
{
  "hex": "#262e76",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 234,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34098,
    "c": 0.12228,
    "h": 273.2
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#262E76
secondary
#A89F4F
accent
#CD4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E76

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

Preview Lab → · Contrast checker → · Palette generator →

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