#252B93#252B93

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

Color values

HEX#252B93
RGBrgb(37, 43, 147)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(74.8%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.41, 34.32, -57.59)
CIE-LCHlch(24.41, 67.04, 300.79°)
OKLaboklab(36.25% 0.006 -0.1666)
OKLCHoklch(36.25% 0.167 272.1)
XYZxyz(6.8915, 4.2269, 28.0508)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B93 #938D25
analogous
#256293 #252B93 #562593
triadic
#252B93 #93252B #2B9325
tetradic
#252B93 #932562 #938D25 #259356
square
#252B93 #932562 #938D25 #259356
split-complementary
#252B93 #935625 #629325
monochromatic
#0C0E31 #191D62 #252B93 #3139C4 #5C63D6

Accessibility & contrast

On white

11.38
#252B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#252B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B93
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B93#FFFFFF#000000##FFFFFF
##252B931.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252b93;
/* rgb */ color: rgb(37, 43, 147);
/* oklch */ color: oklch(36.3% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#252b93',
    950: '#000000',
  },
}
SCSS
$custom: #252b93;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252b93",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 236.727,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.16671,
    "h": 272.1
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252B93

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

Preview Lab → · Contrast checker → · Palette generator →

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