#262E96#262E96

#262E96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.167 H 271.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#262E96
RGBrgb(38, 46, 150)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 59%)
CMYKcmyk(74.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.46, 33.61, -57.70)
CIE-LCHlch(25.46, 66.77, 300.22°)
OKLaboklab(37.12% 0.005 -0.1669)
OKLCHoklch(37.12% 0.167 271.7)
XYZxyz(7.2795, 4.5673, 29.3462)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E96 #968E26
analogous
#266696 #262E96 #562696
triadic
#262E96 #96262E #2E9626
tetradic
#262E96 #962666 #968E26 #269656
square
#262E96 #962666 #968E26 #269656
split-complementary
#262E96 #965626 #669626
monochromatic
#0D1034 #1A1F65 #262E96 #323DC7 #6068D7

Accessibility & contrast

On white

10.97
#262E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#262E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E96
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E96#FFFFFF#000000##FFFFFF
##262E961.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #262e96;
/* rgb */ color: rgb(38, 46, 150);
/* oklch */ color: oklch(37.1% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#7267b6',
    500: '#262e96',
    950: '#000000',
  },
}
SCSS
$custom: #262e96;
$custom-light: #7267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#262e96",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 235.714,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.16696,
    "h": 271.7
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#262E96
secondary
#BCB55C
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #262E96

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

Preview Lab → · Contrast checker → · Palette generator →

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