#252D6F#252D6F

#252D6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.114 H 273.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#252D6F
RGBrgb(37, 45, 111)
HSLhsl(234, 50%, 29%)
HSVhsv(234, 67%, 44%)
CMYKcmyk(66.7%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.64, 19.55, -39.42)
CIE-LCHlch(21.64, 44.01, 296.38°)
OKLaboklab(33.22% 0.0066 -0.1133)
OKLCHoklch(33.22% 0.114 273.3)
XYZxyz(4.5696, 3.4174, 15.4547)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D6F #6F6725
analogous
#25526F #252D6F #42256F
triadic
#252D6F #6F252D #2D6F25
tetradic
#252D6F #6F2552 #6F6725 #256F42
square
#252D6F #6F2552 #6F6725 #256F42
split-complementary
#252D6F #6F4225 #526F25
monochromatic
#080917 #161A41 #252D6F #34409D #4B58C3

Accessibility & contrast

On white

12.47
#252D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D6F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D6F#FFFFFF#000000##FFFFFF
##252D6F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252d6f;
/* rgb */ color: rgb(37, 45, 111);
/* oklch */ color: oklch(33.2% 0.114 273.3);
Tailwind
colors: {
  custom: {
    50: '#696599',
    500: '#252d6f',
    950: '#000000',
  },
}
SCSS
$custom: #252d6f;
$custom-light: #696599;
$custom-dark: #000000;
JSON
{
  "hex": "#252d6f",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 233.514,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.11352,
    "h": 273.3
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#252D6F
secondary
#A2994E
accent
#CA4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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