#252B82#252B82

#252B82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.144 H 273.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#252B82
RGBrgb(37, 43, 130)
HSLhsl(236, 56%, 33%)
HSVhsv(236, 72%, 51%)
CMYKcmyk(71.5%, 66.9%, 0%, 49%)
CIE-LABlab(22.77, 28.10, -49.69)
CIE-LCHlch(22.77, 57.09, 299.49°)
OKLaboklab(34.56% 0.0078 -0.1435)
OKLCHoklch(34.56% 0.144 273.1)
XYZxyz(5.6547, 3.7322, 21.5372)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B82 #827C25
analogous
#255982 #252B82 #4D2582
triadic
#252B82 #82252B #2B8225
tetradic
#252B82 #822559 #827C25 #25824D
square
#252B82 #822559 #827C25 #25824D
split-complementary
#252B82 #824D25 #598225
monochromatic
#0A0B23 #171B52 #252B82 #333BB2 #535BCE

Accessibility & contrast

On white

12.02
#252B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B82
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B82#FFFFFF#000000##FFFFFF
##252B821.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252b82;
/* rgb */ color: rgb(37, 43, 130);
/* oklch */ color: oklch(34.6% 0.144 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d64a7',
    500: '#252b82',
    950: '#000000',
  },
}
SCSS
$custom: #252b82;
$custom-light: #6d64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#252b82",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 236.129,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.14371,
    "h": 273.1
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#252B82
secondary
#B2AC50
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B82

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

Preview Lab → · Contrast checker → · Palette generator →

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