#252A96#252A96

#252A96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.172 H 272.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#252A96
RGBrgb(37, 42, 150)
HSLhsl(237, 60%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(75.3%, 72%, 0%, 41.2%)
CIE-LABlab(24.48, 36.02, -59.32)
CIE-LCHlch(24.48, 69.40, 301.27°)
OKLaboklab(36.4% 0.0062 -0.1716)
OKLCHoklch(36.4% 0.172 272.1)
XYZxyz(7.0941, 4.2505, 29.2948)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A96 #969125
analogous
#256396 #252A96 #592596
triadic
#252A96 #96252A #2A9625
tetradic
#252A96 #962563 #969125 #259659
square
#252A96 #962563 #969125 #259659
split-complementary
#252A96 #965925 #639625
monochromatic
#0D0F34 #191C65 #252A96 #3138C7 #5E63D7

Accessibility & contrast

On white

11.35
#252A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#252A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A96
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A96#FFFFFF#000000##FFFFFF
##252A961.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252a96;
/* rgb */ color: rgb(37, 42, 150);
/* oklch */ color: oklch(36.4% 0.172 272.1);
Tailwind
colors: {
  custom: {
    50: '#7264b6',
    500: '#252a96',
    950: '#000000',
  },
}
SCSS
$custom: #252a96;
$custom-light: #7264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252a96",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 237.345,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.17174,
    "h": 272.1
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#252A96
secondary
#BCB85B
accent
#DD44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A96

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

Preview Lab → · Contrast checker → · Palette generator →

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