#252A93#252A93

#252A93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.168 H 272.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#252A93
RGBrgb(37, 42, 147)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(74.8%, 71.4%, 0%, 42.4%)
CIE-LABlab(24.18, 34.95, -57.97)
CIE-LCHlch(24.18, 67.69, 301.09°)
OKLaboklab(36.09% 0.0066 -0.1677)
OKLCHoklch(36.09% 0.168 272.2)
XYZxyz(6.8556, 4.1551, 28.0388)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A93 #938E25
analogous
#256193 #252A93 #572593
triadic
#252A93 #93252A #2A9325
tetradic
#252A93 #932561 #938E25 #259357
square
#252A93 #932561 #938E25 #259357
split-complementary
#252A93 #935725 #619325
monochromatic
#0C0E31 #191C62 #252A93 #3138C4 #5C62D6

Accessibility & contrast

On white

11.47
#252A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A93
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A93#FFFFFF#000000##FFFFFF
##252A931.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252a93;
/* rgb */ color: rgb(37, 42, 147);
/* oklch */ color: oklch(36.1% 0.168 272.2);
Tailwind
colors: {
  custom: {
    50: '#7264b4',
    500: '#252a93',
    950: '#000000',
  },
}
SCSS
$custom: #252a93;
$custom-light: #7264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252a93",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 237.273,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.16783,
    "h": 272.2
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252A93

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

Preview Lab → · Contrast checker → · Palette generator →

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