#252F6E#252F6E

#252F6E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.109 H 272.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#252F6E
RGBrgb(37, 47, 110)
HSLhsl(232, 50%, 29%)
HSVhsv(232, 66%, 43%)
CMYKcmyk(66.4%, 57.3%, 0%, 56.9%)
CIE-LABlab(22.13, 17.76, -37.99)
CIE-LCHlch(22.13, 41.94, 295.06°)
OKLaboklab(33.56% 0.0045 -0.1091)
OKLCHoklch(33.56% 0.109 272.3)
XYZxyz(4.5930, 3.5517, 15.1923)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F6E #6E6425
analogous
#25546E #252F6E #40256E
triadic
#252F6E #6E252F #2F6E25
tetradic
#252F6E #6E2554 #6E6425 #256E40
square
#252F6E #6E2554 #6E6425 #256E40
split-complementary
#252F6E #6E4025 #546E25
monochromatic
#080A17 #161B40 #252F6E #34439C #4B5BC2

Accessibility & contrast

On white

12.28
#252F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#252F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F6E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F6E#FFFFFF#000000##FFFFFF
##252F6E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252f6e;
/* rgb */ color: rgb(37, 47, 110);
/* oklch */ color: oklch(33.6% 0.109 272.3);
Tailwind
colors: {
  custom: {
    50: '#686798',
    500: '#252f6e',
    950: '#000000',
  },
}
SCSS
$custom: #252f6e;
$custom-light: #686798;
$custom-dark: #000000;
JSON
{
  "hex": "#252f6e",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 231.781,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.10918,
    "h": 272.3
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#252F6E
secondary
#A1964E
accent
#C64FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252F6E

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

Preview Lab → · Contrast checker → · Palette generator →

#252F6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva