#252E5D#252E5D

#252E5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.084 H 272.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#252E5D
RGBrgb(37, 46, 93)
HSLhsl(230, 43%, 25%)
HSVhsv(230, 60%, 36%)
CMYKcmyk(60.2%, 50.5%, 0%, 63.5%)
CIE-LABlab(20.59, 11.99, -29.40)
CIE-LCHlch(20.59, 31.75, 292.19°)
OKLaboklab(31.99% 0.0039 -0.0838)
OKLCHoklch(31.99% 0.084 272.7)
XYZxyz(3.7151, 3.1373, 10.7636)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E5D #5D5425
analogous
#254A5D #252E5D #38255D
triadic
#252E5D #5D252E #2E5D25
tetradic
#252E5D #5D254A #5D5425 #255D38
square
#252E5D #5D254A #5D5425 #255D38
split-complementary
#252E5D #5D3825 #4A5D25
monochromatic
#090B16 #141831 #252E5D #364489 #4859B5

Accessibility & contrast

On white

12.90
#252E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E5D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E5D#FFFFFF#000000##FFFFFF
##252E5D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#053841
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252e5d;
/* rgb */ color: rgb(37, 46, 93);
/* oklch */ color: oklch(32.0% 0.084 272.7);
Tailwind
colors: {
  custom: {
    50: '#65668b',
    500: '#252e5d',
    950: '#000000',
  },
}
SCSS
$custom: #252e5d;
$custom-light: #65668b;
$custom-dark: #000000;
JSON
{
  "hex": "#252e5d",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 230.357,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.08391,
    "h": 272.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#252E5D
secondary
#90864D
accent
#BF55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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