#252A9E#252A9E

#252A9E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 271.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#252A9E
RGBrgb(37, 42, 158)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(76.6%, 73.4%, 0%, 38%)
CIE-LABlab(25.31, 38.84, -62.85)
CIE-LCHlch(25.31, 73.88, 301.72°)
OKLaboklab(37.24% 0.005 -0.1819)
OKLCHoklch(37.24% 0.182 271.6)
XYZxyz(7.7604, 4.5170, 32.8040)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A9E #9E9925
analogous
#25669E #252A9E #5C259E
triadic
#252A9E #9E252A #2A9E25
tetradic
#252A9E #9E2566 #9E9925 #259E5C
square
#252A9E #9E2566 #9E9925 #259E5C
split-complementary
#252A9E #9E5C25 #669E25
monochromatic
#0E103B #191D6C #252A9E #3138CF #6368DA

Accessibility & contrast

On white

11.03
#252A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#252A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A9E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A9E#FFFFFF#000000##FFFFFF
##252A9E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252a9e;
/* rgb */ color: rgb(37, 42, 158);
/* oklch */ color: oklch(37.2% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#7465bc',
    500: '#252a9e',
    950: '#000000',
  },
}
SCSS
$custom: #252a9e;
$custom-light: #7465bc;
$custom-dark: #000000;
JSON
{
  "hex": "#252a9e",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 237.521,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37241,
    "c": 0.182,
    "h": 271.6
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#252A9E
secondary
#C0BC5F
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #252A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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