#252E59#252E59

#252E59 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.077 H 272.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#252E59
RGBrgb(37, 46, 89)
HSLhsl(230, 41%, 25%)
HSVhsv(230, 58%, 35%)
CMYKcmyk(58.4%, 48.3%, 0%, 65.1%)
CIE-LABlab(20.32, 10.49, -27.18)
CIE-LCHlch(20.32, 29.14, 291.09°)
OKLaboklab(31.7% 0.0032 -0.0773)
OKLCHoklch(31.7% 0.077 272.4)
XYZxyz(3.5425, 3.0683, 9.8548)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E59 #595025
analogous
#254859 #252E59 #362559
triadic
#252E59 #59252E #2E5925
tetradic
#252E59 #592548 #595025 #255936
square
#252E59 #592548 #595025 #255936
split-complementary
#252E59 #593625 #485925
monochromatic
#090B16 #13182E #252E59 #374484 #495BAF

Accessibility & contrast

On white

13.01
#252E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E59
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E59#FFFFFF#000000##FFFFFF
##252E591.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#0B373F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252e59;
/* rgb */ color: rgb(37, 46, 89);
/* oklch */ color: oklch(31.7% 0.077 272.4);
Tailwind
colors: {
  custom: {
    50: '#646688',
    500: '#252e59',
    950: '#000000',
  },
}
SCSS
$custom: #252e59;
$custom-light: #646688;
$custom-dark: #000000;
JSON
{
  "hex": "#252e59",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 229.615,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.07739,
    "h": 272.4
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#252E59
secondary
#8C814D
accent
#BC57D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #252E59

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

Preview Lab → · Contrast checker → · Palette generator →

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