#252F96#252F96

#252F96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.166 H 271.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#252F96
RGBrgb(37, 47, 150)
HSLhsl(235, 60%, 37%)
HSVhsv(235, 75%, 59%)
CMYKcmyk(75.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.65, 32.86, -57.40)
CIE-LCHlch(25.65, 66.14, 299.79°)
OKLaboklab(37.24% 0.0033 -0.166)
OKLCHoklch(37.24% 0.166 271.1)
XYZxyz(7.2826, 4.6276, 29.3577)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F96 #968C25
analogous
#256896 #252F96 #542596
triadic
#252F96 #96252F #2F9625
tetradic
#252F96 #962568 #968C25 #259654
square
#252F96 #962568 #968C25 #259654
split-complementary
#252F96 #965425 #689625
monochromatic
#0D1034 #192065 #252F96 #313EC7 #5E69D7

Accessibility & contrast

On white

10.91
#252F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F96
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F96#FFFFFF#000000##FFFFFF
##252F961.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252f96;
/* rgb */ color: rgb(37, 47, 150);
/* oklch */ color: oklch(37.2% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#7268b6',
    500: '#252f96',
    950: '#000000',
  },
}
SCSS
$custom: #252f96;
$custom-light: #7268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252f96",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 234.69,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.16607,
    "h": 271.1
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#252F96
secondary
#BCB45B
accent
#D544E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252F96

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

Preview Lab → · Contrast checker → · Palette generator →

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