#262E9E#262E9E

#262E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.177 H 271.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#262E9E
RGBrgb(38, 46, 158)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(75.9%, 70.9%, 0%, 38%)
CIE-LABlab(26.26, 36.49, -61.29)
CIE-LCHlch(26.26, 71.33, 300.77°)
OKLaboklab(37.93% 0.004 -0.1774)
OKLCHoklch(37.93% 0.177 271.3)
XYZxyz(7.9458, 4.8338, 32.8554)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E9E #9E9626
analogous
#266A9E #262E9E #5A269E
triadic
#262E9E #9E262E #2E9E26
tetradic
#262E9E #9E266A #9E9626 #269E5A
square
#262E9E #9E266A #9E9626 #269E5A
split-complementary
#262E9E #9E5A26 #6A9E26
monochromatic
#0E113B #1A206D #262E9E #333ECE #656CDA

Accessibility & contrast

On white

10.68
#262E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#262E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E9E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E9E#FFFFFF#000000##FFFFFF
##262E9E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262e9e;
/* rgb */ color: rgb(38, 46, 158);
/* oklch */ color: oklch(37.9% 0.177 271.3);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#262e9e',
    950: '#000000',
  },
}
SCSS
$custom: #262e9e;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#262e9e",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 236,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.17742,
    "h": 271.3
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#262E9E
secondary
#C0B960
accent
#DA43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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