#252E93#252E93

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

Color values

HEX#252E93
RGBrgb(37, 46, 147)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 58%)
CMYKcmyk(74.8%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.12, 32.40, -56.43)
CIE-LCHlch(25.12, 65.07, 299.87°)
OKLaboklab(36.77% 0.0042 -0.1632)
OKLCHoklch(36.77% 0.163 271.5)
XYZxyz(7.0046, 4.4532, 28.0885)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E93 #938A25
analogous
#256593 #252E93 #532593
triadic
#252E93 #93252E #2E9325
tetradic
#252E93 #932565 #938A25 #259353
square
#252E93 #932565 #938A25 #259353
split-complementary
#252E93 #935325 #659325
monochromatic
#0C0F31 #191F62 #252E93 #313DC4 #5C66D6

Accessibility & contrast

On white

11.11
#252E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#252E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E93
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E93#FFFFFF#000000##FFFFFF
##252E931.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252e93;
/* rgb */ color: rgb(37, 46, 147);
/* oklch */ color: oklch(36.8% 0.163 271.5);
Tailwind
colors: {
  custom: {
    50: '#7167b4',
    500: '#252e93',
    950: '#000000',
  },
}
SCSS
$custom: #252e93;
$custom-light: #7167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252e93",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 235.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.16324,
    "h": 271.5
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252E93

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

Preview Lab → · Contrast checker → · Palette generator →

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