#252B92#252B92

#252B92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.165 H 272.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#252B92
RGBrgb(37, 43, 146)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 57%)
CMYKcmyk(74.7%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.31, 33.96, -57.14)
CIE-LCHlch(24.31, 66.47, 300.73°)
OKLaboklab(36.15% 0.0061 -0.1653)
OKLCHoklch(36.15% 0.165 272.1)
XYZxyz(6.8134, 4.1957, 27.6393)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B92 #928C25
analogous
#256192 #252B92 #552592
triadic
#252B92 #92252B #2B9225
tetradic
#252B92 #922561 #928C25 #259255
square
#252B92 #922561 #928C25 #259255
split-complementary
#252B92 #925525 #619225
monochromatic
#0C0E30 #191D61 #252B92 #3139C3 #5C62D6

Accessibility & contrast

On white

11.42
#252B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B92
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B92#FFFFFF#000000##FFFFFF
##252B921.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252b92;
/* rgb */ color: rgb(37, 43, 146);
/* oklch */ color: oklch(36.1% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#7165b3',
    500: '#252b92',
    950: '#000000',
  },
}
SCSS
$custom: #252b92;
$custom-light: #7165b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252b92",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 236.697,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3615,
    "c": 0.16539,
    "h": 272.1
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#252B92
secondary
#BAB558
accent
#DA45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B92

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

Preview Lab → · Contrast checker → · Palette generator →

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