#252E9E#252E9E

#252E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.178 H 271.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#252E9E
RGBrgb(37, 46, 158)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(76.6%, 70.9%, 0%, 38%)
CIE-LABlab(26.20, 36.39, -61.38)
CIE-LCHlch(26.20, 71.36, 300.66°)
OKLaboklab(37.88% 0.003 -0.1777)
OKLCHoklch(37.88% 0.178 271)
XYZxyz(7.9094, 4.8151, 32.8537)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E9E #9E9525
analogous
#256A9E #252E9E #58259E
triadic
#252E9E #9E252E #2E9E25
tetradic
#252E9E #9E256A #9E9525 #259E58
square
#252E9E #9E256A #9E9525 #259E58
split-complementary
#252E9E #9E5825 #6A9E25
monochromatic
#0E113B #19206C #252E9E #313DCF #636CDA

Accessibility & contrast

On white

10.70
#252E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#252E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E9E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E9E#FFFFFF#000000##FFFFFF
##252E9E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252e9e;
/* rgb */ color: rgb(37, 46, 158);
/* oklch */ color: oklch(37.9% 0.178 271.0);
Tailwind
colors: {
  custom: {
    50: '#7467bc',
    500: '#252e9e',
    950: '#000000',
  },
}
SCSS
$custom: #252e9e;
$custom-light: #7467bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252e9e",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 235.537,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.17768,
    "h": 271
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#252E9E
secondary
#C0B95F
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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