#252B9F#252B9F

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

Color values

HEX#252B9F
RGBrgb(37, 43, 159)
HSLhsl(237, 62%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(76.7%, 73%, 0%, 37.6%)
CIE-LABlab(25.63, 38.59, -62.93)
CIE-LCHlch(25.63, 73.82, 301.52°)
OKLaboklab(37.5% 0.0043 -0.1822)
OKLCHoklch(37.5% 0.182 271.4)
XYZxyz(7.8827, 4.6234, 33.2711)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B9F #9F9925
analogous
#25689F #252B9F #5C259F
triadic
#252B9F #9F252B #2B9F25
tetradic
#252B9F #9F2568 #9F9925 #259F5C
square
#252B9F #9F2568 #9F9925 #259F5C
split-complementary
#252B9F #9F5C25 #689F25
monochromatic
#0E103C #191E6D #252B9F #323ACF #6469DB

Accessibility & contrast

On white

10.91
#252B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B9F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B9F#FFFFFF#000000##FFFFFF
##252B9F1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252b9f;
/* rgb */ color: rgb(37, 43, 159);
/* oklch */ color: oklch(37.5% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#7465bd',
    500: '#252b9f',
    950: '#000000',
  },
}
SCSS
$custom: #252b9f;
$custom-light: #7465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#252b9f",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 237.049,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37502,
    "c": 0.18221,
    "h": 271.4
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#252B9F
secondary
#C0BC5F
accent
#DD42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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