#252B9E#252B9E

#252B9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 271.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#252B9E
RGBrgb(37, 43, 158)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(76.6%, 72.8%, 0%, 38%)
CIE-LABlab(25.53, 38.24, -62.49)
CIE-LCHlch(25.53, 73.26, 301.46°)
OKLaboklab(37.4% 0.0045 -0.1809)
OKLCHoklch(37.4% 0.181 271.4)
XYZxyz(7.7963, 4.5889, 32.8160)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B9E #9E9825
analogous
#25679E #252B9E #5B259E
triadic
#252B9E #9E252B #2B9E25
tetradic
#252B9E #9E2567 #9E9825 #259E5B
square
#252B9E #9E2567 #9E9825 #259E5B
split-complementary
#252B9E #9E5B25 #679E25
monochromatic
#0E103B #191E6C #252B9E #3139CF #6369DA

Accessibility & contrast

On white

10.95
#252B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#252B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B9E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B9E#FFFFFF#000000##FFFFFF
##252B9E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252b9e;
/* rgb */ color: rgb(37, 43, 158);
/* oklch */ color: oklch(37.4% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#7465bc',
    500: '#252b9e',
    950: '#000000',
  },
}
SCSS
$custom: #252b9e;
$custom-light: #7465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252b9e",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 237.025,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37396,
    "c": 0.18094,
    "h": 271.4
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#252B9E
secondary
#C0BB5F
accent
#DD43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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