#262E4E#262E4E

#262E4E is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.0% C 0.059 H 272.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#262E4E
RGBrgb(38, 46, 78)
HSLhsl(228, 34%, 23%)
HSVhsv(228, 51%, 31%)
CMYKcmyk(51.3%, 41%, 0%, 69.4%)
CIE-LABlab(19.70, 6.73, -20.80)
CIE-LCHlch(19.70, 21.86, 287.92°)
OKLaboklab(31.02% 0.002 -0.0586)
OKLCHoklch(31.02% 0.059 272)
XYZxyz(3.1510, 2.9159, 7.6030)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E4E #4E4626
analogous
#26424E #262E4E #32264E
triadic
#262E4E #4E262E #2E4E26
tetradic
#262E4E #4E2642 #4E4626 #264E32
square
#262E4E #4E2642 #4E4626 #264E32
split-complementary
#262E4E #4E3226 #424E26
monochromatic
#0A0C15 #121625 #262E4E #3A4677 #4E5FA0

Accessibility & contrast

On white

13.26
#262E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#262E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E4E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E4E#FFFFFF#000000##FFFFFF
##262E4E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#17353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262e4e;
/* rgb */ color: rgb(38, 46, 78);
/* oklch */ color: oklch(31.0% 0.059 272.0);
Tailwind
colors: {
  custom: {
    50: '#63667f',
    500: '#262e4e',
    950: '#000000',
  },
}
SCSS
$custom: #262e4e;
$custom-light: #63667f;
$custom-dark: #000000;
JSON
{
  "hex": "#262e4e",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 228,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.05865,
    "h": 272
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#262E4E
secondary
#81774F
accent
#B55DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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