#252C99#252C99

#252C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.173 H 271.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#252C99
RGBrgb(37, 44, 153)
HSLhsl(236, 61%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(75.8%, 71.2%, 0%, 40%)
CIE-LABlab(25.24, 35.85, -59.91)
CIE-LCHlch(25.24, 69.82, 300.90°)
OKLaboklab(37.04% 0.0047 -0.1734)
OKLCHoklch(37.04% 0.173 271.5)
XYZxyz(7.4115, 4.4938, 30.6076)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C99 #999225
analogous
#256699 #252C99 #582599
triadic
#252C99 #99252C #2C9925
tetradic
#252C99 #992566 #999225 #259958
square
#252C99 #992566 #999225 #259958
split-complementary
#252C99 #995825 #669925
monochromatic
#0D1036 #191E68 #252C99 #313ACA #6067D9

Accessibility & contrast

On white

11.06
#252C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252C99
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C99#FFFFFF#000000##FFFFFF
##252C991.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252c99;
/* rgb */ color: rgb(37, 44, 153);
/* oklch */ color: oklch(37.0% 0.173 271.5);
Tailwind
colors: {
  custom: {
    50: '#7366b8',
    500: '#252c99',
    950: '#000000',
  },
}
SCSS
$custom: #252c99;
$custom-light: #7366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252c99",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 236.379,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37035,
    "c": 0.17342,
    "h": 271.5
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#252C99
secondary
#BEB85C
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252C99

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

Preview Lab → · Contrast checker → · Palette generator →

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