#252D93#252D93

#252D93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.164 H 271.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#252D93
RGBrgb(37, 45, 147)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(74.8%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.88, 33.05, -56.82)
CIE-LCHlch(24.88, 65.73, 300.18°)
OKLaboklab(36.59% 0.0048 -0.1643)
OKLCHoklch(36.59% 0.164 271.7)
XYZxyz(6.9660, 4.3760, 28.0756)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D93 #938B25
analogous
#256493 #252D93 #542593
triadic
#252D93 #93252D #2D9325
tetradic
#252D93 #932564 #938B25 #259354
square
#252D93 #932564 #938B25 #259354
split-complementary
#252D93 #935425 #649325
monochromatic
#0C0F31 #191E62 #252D93 #313CC4 #5C65D6

Accessibility & contrast

On white

11.20
#252D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D93
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D93#FFFFFF#000000##FFFFFF
##252D931.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252d93;
/* rgb */ color: rgb(37, 45, 147);
/* oklch */ color: oklch(36.6% 0.164 271.7);
Tailwind
colors: {
  custom: {
    50: '#7166b4',
    500: '#252d93',
    950: '#000000',
  },
}
SCSS
$custom: #252d93;
$custom-light: #7166b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252d93",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 235.636,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.16441,
    "h": 271.7
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#252D93
secondary
#BBB459
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D93

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

Preview Lab → · Contrast checker → · Palette generator →

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