#252B8F#252B8F

#252B8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 272.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#252B8F
RGBrgb(37, 43, 143)
HSLhsl(237, 59%, 35%)
HSVhsv(237, 74%, 56%)
CMYKcmyk(74.1%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.01, 32.88, -55.77)
CIE-LCHlch(24.01, 64.74, 300.52°)
OKLaboklab(35.85% 0.0065 -0.1613)
OKLCHoklch(35.85% 0.161 272.3)
XYZxyz(6.5831, 4.1036, 26.4264)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B8F #8F8925
analogous
#25608F #252B8F #54258F
triadic
#252B8F #8F252B #2B8F25
tetradic
#252B8F #8F2560 #8F8925 #258F54
square
#252B8F #8F2560 #8F8925 #258F54
split-complementary
#252B8F #8F5425 #608F25
monochromatic
#0C0E2E #181C5E #252B8F #323AC0 #5A61D4

Accessibility & contrast

On white

11.53
#252B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B8F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B8F#FFFFFF#000000##FFFFFF
##252B8F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252b8f;
/* rgb */ color: rgb(37, 43, 143);
/* oklch */ color: oklch(35.8% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#7065b1',
    500: '#252b8f',
    950: '#000000',
  },
}
SCSS
$custom: #252b8f;
$custom-light: #7065b1;
$custom-dark: #000000;
JSON
{
  "hex": "#252b8f",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 236.604,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35845,
    "c": 0.16141,
    "h": 272.3
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#252B8F
secondary
#B9B357
accent
#D946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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