#252B9A#252B9A

#252B9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.176 H 271.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#252B9A
RGBrgb(37, 43, 154)
HSLhsl(237, 61%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(76%, 72.1%, 0%, 39.6%)
CIE-LABlab(25.12, 36.83, -60.73)
CIE-LCHlch(25.12, 71.02, 301.23°)
OKLaboklab(36.98% 0.0051 -0.1757)
OKLCHoklch(36.98% 0.176 271.6)
XYZxyz(7.4576, 4.4534, 31.0321)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B9A #9A9425
analogous
#25669A #252B9A #59259A
triadic
#252B9A #9A252B #2B9A25
tetradic
#252B9A #9A2566 #9A9425 #259A59
square
#252B9A #9A2566 #9A9425 #259A59
split-complementary
#252B9A #9A5925 #669A25
monochromatic
#0D0F37 #191D69 #252B9A #3139CB #6067D9

Accessibility & contrast

On white

11.11
#252B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#252B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B9A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B9A#FFFFFF#000000##FFFFFF
##252B9A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252b9a;
/* rgb */ color: rgb(37, 43, 154);
/* oklch */ color: oklch(37.0% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#7365b9',
    500: '#252b9a',
    950: '#000000',
  },
}
SCSS
$custom: #252b9a;
$custom-light: #7365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252b9a",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 236.923,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.17581,
    "h": 271.6
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#252B9A
secondary
#BEB95D
accent
#DC43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #252B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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