#252B8D#252B8D

#252B8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.159 H 272.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#252B8D
RGBrgb(37, 43, 141)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 74%, 55%)
CMYKcmyk(73.8%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.81, 32.15, -54.85)
CIE-LCHlch(23.81, 63.58, 300.37°)
OKLaboklab(35.64% 0.0067 -0.1586)
OKLCHoklch(35.64% 0.159 272.4)
XYZxyz(6.4329, 4.0435, 25.6356)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B8D #8D8725
analogous
#255F8D #252B8D #53258D
triadic
#252B8D #8D252B #2B8D25
tetradic
#252B8D #8D255F #8D8725 #258D53
square
#252B8D #8D255F #8D8725 #258D53
split-complementary
#252B8D #8D5325 #5F8D25
monochromatic
#0C0D2C #181C5D #252B8D #323ABD #5960D3

Accessibility & contrast

On white

11.61
#252B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B8D
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B8D#FFFFFF#000000##FFFFFF
##252B8D1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252b8d;
/* rgb */ color: rgb(37, 43, 141);
/* oklch */ color: oklch(35.6% 0.159 272.4);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#252b8d',
    950: '#000000',
  },
}
SCSS
$custom: #252b8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#252b8d",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 236.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35644,
    "c": 0.15873,
    "h": 272.4
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#252B8D
secondary
#B8B256
accent
#D946E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #252B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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