#252A5D#252A5D

#252A5D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.090 H 275.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#252A5D
RGBrgb(37, 42, 93)
HSLhsl(235, 43%, 25%)
HSVhsv(235, 60%, 36%)
CMYKcmyk(60.2%, 54.8%, 0%, 63.5%)
CIE-LABlab(19.39, 14.85, -31.32)
CIE-LCHlch(19.39, 34.66, 295.37°)
OKLaboklab(31.08% 0.0089 -0.0895)
OKLCHoklch(31.08% 0.09 275.6)
XYZxyz(3.5661, 2.8393, 10.7139)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A5D #5D5825
analogous
#25465D #252A5D #3C255D
triadic
#252A5D #5D252A #2A5D25
tetradic
#252A5D #5D2546 #5D5825 #255D3C
square
#252A5D #5D2546 #5D5825 #255D3C
split-complementary
#252A5D #5D3C25 #465D25
monochromatic
#090A16 #141631 #252A5D #363E89 #4852B5

Accessibility & contrast

On white

13.39
#252A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#252A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A5D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A5D#FFFFFF#000000##FFFFFF
##252A5D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315F
Deuteranopia (green-blind)
#062D5C
Tritanopia (blue-blind)
#06363F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252a5d;
/* rgb */ color: rgb(37, 42, 93);
/* oklch */ color: oklch(31.1% 0.090 275.6);
Tailwind
colors: {
  custom: {
    50: '#65638b',
    500: '#252a5d',
    950: '#000000',
  },
}
SCSS
$custom: #252a5d;
$custom-light: #65638b;
$custom-dark: #000000;
JSON
{
  "hex": "#252a5d",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 234.643,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31082,
    "c": 0.08996,
    "h": 275.6
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#252A5D
secondary
#908A4D
accent
#C855D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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