#252F92#252F92

#252F92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.161 H 271.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#252F92
RGBrgb(37, 47, 146)
HSLhsl(234, 60%, 36%)
HSVhsv(234, 75%, 57%)
CMYKcmyk(74.7%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.26, 31.39, -55.57)
CIE-LCHlch(25.26, 63.82, 299.46°)
OKLaboklab(36.84% 0.0036 -0.1607)
OKLCHoklch(36.84% 0.161 271.3)
XYZxyz(6.9660, 4.5009, 27.6902)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F92 #928825
analogous
#256592 #252F92 #512592
triadic
#252F92 #92252F #2F9225
tetradic
#252F92 #922565 #928825 #259251
square
#252F92 #922565 #928825 #259251
split-complementary
#252F92 #925125 #659225
monochromatic
#0C1030 #191F61 #252F92 #313FC3 #5C67D6

Accessibility & contrast

On white

11.05
#252F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#252F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F92
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F92#FFFFFF#000000##FFFFFF
##252F921.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252f92;
/* rgb */ color: rgb(37, 47, 146);
/* oklch */ color: oklch(36.8% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#7167b3',
    500: '#252f92',
    950: '#000000',
  },
}
SCSS
$custom: #252f92;
$custom-light: #7167b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252f92",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 234.495,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.16072,
    "h": 271.3
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#252F92
secondary
#BAB158
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252F92

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

Preview Lab → · Contrast checker → · Palette generator →

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