#252C94#252C94

#252C94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.167 H 271.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#252C94
RGBrgb(37, 44, 148)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(75%, 70.3%, 0%, 42%)
CIE-LABlab(24.74, 34.05, -57.66)
CIE-LCHlch(24.74, 66.96, 300.56°)
OKLaboklab(36.52% 0.0053 -0.1668)
OKLCHoklch(36.52% 0.167 271.8)
XYZxyz(7.0071, 4.3321, 28.4781)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C94 #948D25
analogous
#256494 #252C94 #562594
triadic
#252C94 #94252C #2C9425
tetradic
#252C94 #942564 #948D25 #259456
square
#252C94 #942564 #948D25 #259456
split-complementary
#252C94 #945625 #649425
monochromatic
#0D0F32 #191D63 #252C94 #313BC5 #5D65D6

Accessibility & contrast

On white

11.25
#252C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#252C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C94
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C94#FFFFFF#000000##FFFFFF
##252C941.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252c94;
/* rgb */ color: rgb(37, 44, 148);
/* oklch */ color: oklch(36.5% 0.167 271.8);
Tailwind
colors: {
  custom: {
    50: '#7265b4',
    500: '#252c94',
    950: '#000000',
  },
}
SCSS
$custom: #252c94;
$custom-light: #7265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252c94",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 236.216,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36523,
    "c": 0.16688,
    "h": 271.8
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#252C94
secondary
#BBB559
accent
#D945E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C94

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

Preview Lab → · Contrast checker → · Palette generator →

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