#262F4E#262F4E

#262F4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.3% C 0.057 H 270.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#262F4E
RGBrgb(38, 47, 78)
HSLhsl(227, 34%, 23%)
HSVhsv(227, 51%, 31%)
CMYKcmyk(51.3%, 39.7%, 0%, 69.4%)
CIE-LABlab(20.02, 6.02, -20.30)
CIE-LCHlch(20.02, 21.17, 286.51°)
OKLaboklab(31.27% 0.0006 -0.0571)
OKLCHoklch(31.27% 0.057 270.6)
XYZxyz(3.1906, 2.9950, 7.6162)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F4E #4E4526
analogous
#26434E #262F4E #31264E
triadic
#262F4E #4E262F #2F4E26
tetradic
#262F4E #4E2643 #4E4526 #264E31
square
#262F4E #4E2643 #4E4526 #264E31
split-complementary
#262F4E #4E3126 #434E26
monochromatic
#0A0C15 #121625 #262F4E #3A4877 #4E61A0

Accessibility & contrast

On white

13.13
#262F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#262F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F4E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F4E#FFFFFF#000000##FFFFFF
##262F4E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#17353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262f4e;
/* rgb */ color: rgb(38, 47, 78);
/* oklch */ color: oklch(31.3% 0.057 270.6);
Tailwind
colors: {
  custom: {
    50: '#63677f',
    500: '#262f4e',
    950: '#000000',
  },
}
SCSS
$custom: #262f4e;
$custom-light: #63677f;
$custom-dark: #000000;
JSON
{
  "hex": "#262f4e",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 226.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.05715,
    "h": 270.6
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#262F4E
secondary
#81764F
accent
#B25DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #262F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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