#252E9B#252E9B

#252E9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.174 H 271.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#252E9B
RGBrgb(37, 46, 155)
HSLhsl(235, 61%, 38%)
HSVhsv(235, 76%, 61%)
CMYKcmyk(76.1%, 70.3%, 0%, 39.2%)
CIE-LABlab(25.90, 35.31, -60.05)
CIE-LCHlch(25.90, 69.66, 300.46°)
OKLaboklab(37.57% 0.0033 -0.1738)
OKLCHoklch(37.57% 0.174 271.1)
XYZxyz(7.6543, 4.7130, 31.5103)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E9B #9B9225
analogous
#25699B #252E9B #57259B
triadic
#252E9B #9B252E #2E9B25
tetradic
#252E9B #9B2569 #9B9225 #259B57
square
#252E9B #9B2569 #9B9225 #259B57
split-complementary
#252E9B #9B5725 #699B25
monochromatic
#0D1138 #191F6A #252E9B #313DCC #616AD9

Accessibility & contrast

On white

10.81
#252E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#252E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E9B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E9B#FFFFFF#000000##FFFFFF
##252E9B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252e9b;
/* rgb */ color: rgb(37, 46, 155);
/* oklch */ color: oklch(37.6% 0.174 271.1);
Tailwind
colors: {
  custom: {
    50: '#7367ba',
    500: '#252e9b',
    950: '#000000',
  },
}
SCSS
$custom: #252e9b;
$custom-light: #7367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252e9b",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 235.424,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.1738,
    "h": 271.1
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#252E9B
secondary
#BFB75D
accent
#D843E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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