#252C8E#252C8E

#252C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 272.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#252C8E
RGBrgb(37, 44, 142)
HSLhsl(236, 59%, 35%)
HSVhsv(236, 74%, 56%)
CMYKcmyk(73.9%, 69%, 0%, 44.3%)
CIE-LABlab(24.15, 31.87, -54.92)
CIE-LCHlch(24.15, 63.50, 300.13°)
OKLaboklab(35.92% 0.006 -0.1588)
OKLCHoklch(35.92% 0.159 272.1)
XYZxyz(6.5445, 4.1470, 26.0415)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C8E #8E8725
analogous
#25608E #252C8E #52258E
triadic
#252C8E #8E252C #2C8E25
tetradic
#252C8E #8E2560 #8E8725 #258E52
square
#252C8E #8E2560 #8E8725 #258E52
split-complementary
#252C8E #8E5225 #608E25
monochromatic
#0C0E2D #181D5D #252C8E #323BBF #5A62D4

Accessibility & contrast

On white

11.48
#252C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C8E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C8E#FFFFFF#000000##FFFFFF
##252C8E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252c8e;
/* rgb */ color: rgb(37, 44, 142);
/* oklch */ color: oklch(35.9% 0.159 272.1);
Tailwind
colors: {
  custom: {
    50: '#7065b0',
    500: '#252c8e',
    950: '#000000',
  },
}
SCSS
$custom: #252c8e;
$custom-light: #7065b0;
$custom-dark: #000000;
JSON
{
  "hex": "#252c8e",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 236,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.1589,
    "h": 272.1
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#252C8E
secondary
#B9B256
accent
#D746E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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