#252EA0#252EA0

#252EA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.180 H 270.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#252EA0
RGBrgb(37, 46, 160)
HSLhsl(236, 62%, 39%)
HSVhsv(236, 77%, 63%)
CMYKcmyk(76.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.40, 37.10, -62.27)
CIE-LCHlch(26.40, 72.48, 300.79°)
OKLaboklab(38.09% 0.0027 -0.1802)
OKLCHoklch(38.09% 0.18 270.9)
XYZxyz(8.0829, 4.8845, 33.7677)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EA0 #A09725
analogous
#256BA0 #252EA0 #5925A0
triadic
#252EA0 #A0252E #2EA025
tetradic
#252EA0 #A0256B #A09725 #25A059
square
#252EA0 #A0256B #A09725 #25A059
split-complementary
#252EA0 #A05925 #6BA025
monochromatic
#0E113D #1A206E #252EA0 #323ED0 #646DDB

Accessibility & contrast

On white

10.62
#252EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#252EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EA0
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EA0#FFFFFF#000000##FFFFFF
##252EA01.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252ea0;
/* rgb */ color: rgb(37, 46, 160);
/* oklch */ color: oklch(38.1% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#7467bd',
    500: '#252ea0',
    950: '#000000',
  },
}
SCSS
$custom: #252ea0;
$custom-light: #7467bd;
$custom-dark: #000000;
JSON
{
  "hex": "#252ea0",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 235.61,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.18026,
    "h": 270.9
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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