#252E92#252E92

#252E92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.162 H 271.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#252E92
RGBrgb(37, 46, 146)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 57%)
CMYKcmyk(74.7%, 68.5%, 0%, 42.7%)
CIE-LABlab(25.02, 32.04, -55.97)
CIE-LCHlch(25.02, 64.49, 299.79°)
OKLaboklab(36.67% 0.0043 -0.1618)
OKLCHoklch(36.67% 0.162 271.5)
XYZxyz(6.9265, 4.4219, 27.6770)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E92 #928925
analogous
#256492 #252E92 #522592
triadic
#252E92 #92252E #2E9225
tetradic
#252E92 #922564 #928925 #259252
square
#252E92 #922564 #928925 #259252
split-complementary
#252E92 #925225 #649225
monochromatic
#0C0F30 #191F61 #252E92 #313DC3 #5C66D6

Accessibility & contrast

On white

11.14
#252E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#252E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E92
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E92#FFFFFF#000000##FFFFFF
##252E921.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252e92;
/* rgb */ color: rgb(37, 46, 146);
/* oklch */ color: oklch(36.7% 0.162 271.5);
Tailwind
colors: {
  custom: {
    50: '#7167b3',
    500: '#252e92',
    950: '#000000',
  },
}
SCSS
$custom: #252e92;
$custom-light: #7167b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252e92",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 235.046,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.16191,
    "h": 271.5
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#252E92
secondary
#BAB258
accent
#D645E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252E92

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

Preview Lab → · Contrast checker → · Palette generator →

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