#252A92#252A92

#252A92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.167 H 272.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#252A92
RGBrgb(37, 42, 146)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 57%)
CMYKcmyk(74.7%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.08, 34.59, -57.52)
CIE-LCHlch(24.08, 67.12, 301.02°)
OKLaboklab(35.98% 0.0067 -0.1664)
OKLCHoklch(35.98% 0.167 272.3)
XYZxyz(6.7775, 4.1239, 27.6274)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A92 #928D25
analogous
#256092 #252A92 #562592
triadic
#252A92 #92252A #2A9225
tetradic
#252A92 #922560 #928D25 #259256
square
#252A92 #922560 #928D25 #259256
split-complementary
#252A92 #925625 #609225
monochromatic
#0C0E30 #191C61 #252A92 #3138C3 #5C61D6

Accessibility & contrast

On white

11.51
#252A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A92
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A92#FFFFFF#000000##FFFFFF
##252A921.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252a92;
/* rgb */ color: rgb(37, 42, 146);
/* oklch */ color: oklch(36.0% 0.167 272.3);
Tailwind
colors: {
  custom: {
    50: '#7164b3',
    500: '#252a92',
    950: '#000000',
  },
}
SCSS
$custom: #252a92;
$custom-light: #7164b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252a92",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 237.248,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.16652,
    "h": 272.3
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#252A92
secondary
#BAB658
accent
#DC45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A92

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

Preview Lab → · Contrast checker → · Palette generator →

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