#252EA2#252EA2

#252EA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.183 H 270.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#252EA2
RGBrgb(37, 46, 162)
HSLhsl(236, 63%, 39%)
HSVhsv(236, 77%, 64%)
CMYKcmyk(77.2%, 71.6%, 0%, 36.5%)
CIE-LABlab(26.61, 37.82, -63.15)
CIE-LCHlch(26.61, 73.61, 300.92°)
OKLaboklab(38.29% 0.0025 -0.1828)
OKLCHoklch(38.29% 0.183 270.8)
XYZxyz(8.2593, 4.9550, 34.6965)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EA2 #A29925
analogous
#256DA2 #252EA2 #5B25A2
triadic
#252EA2 #A2252E #2EA225
tetradic
#252EA2 #A2256D #A29925 #25A25B
square
#252EA2 #A2256D #A29925 #25A25B
split-complementary
#252EA2 #A25B25 #6DA225
monochromatic
#0E123E #1A2070 #252EA2 #343FD1 #656EDC

Accessibility & contrast

On white

10.55
#252EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#252EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EA2
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EA2#FFFFFF#000000##FFFFFF
##252EA21.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252ea2;
/* rgb */ color: rgb(37, 46, 162);
/* oklch */ color: oklch(38.3% 0.183 270.8);
Tailwind
colors: {
  custom: {
    50: '#7567bf',
    500: '#252ea2',
    950: '#000000',
  },
}
SCSS
$custom: #252ea2;
$custom-light: #7567bf;
$custom-dark: #000000;
JSON
{
  "hex": "#252ea2",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 235.68,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.18283,
    "h": 270.8
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#252EA2
secondary
#C2BB61
accent
#DA42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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