#252D56#252D56

#252D56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.074 H 273.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#252D56
RGBrgb(37, 45, 86)
HSLhsl(230, 40%, 24%)
HSVhsv(230, 57%, 34%)
CMYKcmyk(57%, 47.7%, 0%, 66.3%)
CIE-LABlab(19.81, 10.08, -26.00)
CIE-LCHlch(19.81, 27.88, 291.20°)
OKLaboklab(31.25% 0.004 -0.0738)
OKLCHoklch(31.25% 0.074 273.1)
XYZxyz(3.3805, 2.9417, 9.1920)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D56 #564E25
analogous
#254656 #252D56 #362556
triadic
#252D56 #56252D #2D5625
tetradic
#252D56 #562546 #564E25 #255636
square
#252D56 #562546 #564E25 #255636
split-complementary
#252D56 #563625 #465625
monochromatic
#090B15 #13172B #252D56 #374381 #4A5AAC

Accessibility & contrast

On white

13.22
#252D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#252D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D56
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D56#FFFFFF#000000##FFFFFF
##252D561.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#162E55
Tritanopia (blue-blind)
#0E363D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252d56;
/* rgb */ color: rgb(37, 45, 86);
/* oklch */ color: oklch(31.2% 0.074 273.1);
Tailwind
colors: {
  custom: {
    50: '#646586',
    500: '#252d56',
    950: '#000000',
  },
}
SCSS
$custom: #252d56;
$custom-light: #646586;
$custom-dark: #000000;
JSON
{
  "hex": "#252d56",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 230.204,
    "s": 39.837,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.07396,
    "h": 273.1
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#252D56
secondary
#89804D
accent
#BC58D0
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #252D56

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

Preview Lab → · Contrast checker → · Palette generator →

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