#252BA9#252BA9

#252BA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.195 H 270.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#252BA9
RGBrgb(37, 43, 169)
HSLhsl(237, 64%, 40%)
HSVhsv(237, 78%, 66%)
CMYKcmyk(78.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.69, 42.06, -67.24)
CIE-LCHlch(26.69, 79.31, 302.03°)
OKLaboklab(38.57% 0.0028 -0.1947)
OKLCHoklch(38.57% 0.195 270.8)
XYZxyz(8.7858, 4.9847, 38.0275)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BA9 #A9A325
analogous
#256DA9 #252BA9 #6125A9
triadic
#252BA9 #A9252B #2BA925
tetradic
#252BA9 #A9256D #A9A325 #25A961
square
#252BA9 #A9256D #A9A325 #25A961
split-complementary
#252BA9 #A96125 #6DA925
monochromatic
#0F1145 #1A1E77 #252BA9 #383FD3 #6A6FDE

Accessibility & contrast

On white

10.51
#252BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#252BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BA9
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BA9#FFFFFF#000000##FFFFFF
##252BA91.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252ba9;
/* rgb */ color: rgb(37, 43, 169);
/* oklch */ color: oklch(38.6% 0.195 270.8);
Tailwind
colors: {
  custom: {
    50: '#7766c4',
    500: '#252ba9',
    950: '#000000',
  },
}
SCSS
$custom: #252ba9;
$custom-light: #7766c4;
$custom-dark: #000000;
JSON
{
  "hex": "#252ba9",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 237.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.19473,
    "h": 270.8
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#252BA9
secondary
#C4C065
accent
#E041E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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