#252E94#252E94

#252E94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.165 H 271.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#252E94
RGBrgb(37, 46, 148)
HSLhsl(235, 60%, 36%)
HSVhsv(235, 75%, 58%)
CMYKcmyk(75%, 68.9%, 0%, 42%)
CIE-LABlab(25.21, 32.77, -56.88)
CIE-LCHlch(25.21, 65.65, 299.95°)
OKLaboklab(36.86% 0.0041 -0.1645)
OKLCHoklch(36.86% 0.165 271.4)
XYZxyz(7.0834, 4.4847, 28.5036)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E94 #948B25
analogous
#256694 #252E94 #542594
triadic
#252E94 #94252E #2E9425
tetradic
#252E94 #942566 #948B25 #259454
square
#252E94 #942566 #948B25 #259454
split-complementary
#252E94 #945425 #669425
monochromatic
#0D1032 #191F63 #252E94 #313DC5 #5D67D6

Accessibility & contrast

On white

11.07
#252E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#252E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E94
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E94#FFFFFF#000000##FFFFFF
##252E941.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252e94;
/* rgb */ color: rgb(37, 46, 148);
/* oklch */ color: oklch(36.9% 0.165 271.4);
Tailwind
colors: {
  custom: {
    50: '#7167b4',
    500: '#252e94',
    950: '#000000',
  },
}
SCSS
$custom: #252e94;
$custom-light: #7167b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252e94",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 235.135,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36865,
    "c": 0.16458,
    "h": 271.4
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252E94

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

Preview Lab → · Contrast checker → · Palette generator →

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