#252C73#252C73

#252C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.121 H 273.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#252C73
RGBrgb(37, 44, 115)
HSLhsl(235, 51%, 30%)
HSVhsv(235, 68%, 45%)
CMYKcmyk(67.8%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.70, 21.77, -41.91)
CIE-LCHlch(21.70, 47.23, 297.46°)
OKLaboklab(33.36% 0.0076 -0.1206)
OKLCHoklch(33.36% 0.121 273.6)
XYZxyz(4.7571, 3.4321, 16.6281)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C73 #736C25
analogous
#255373 #252C73 #452573
triadic
#252C73 #73252C #2C7325
tetradic
#252C73 #732553 #736C25 #257345
square
#252C73 #732553 #736C25 #257345
split-complementary
#252C73 #734525 #537325
monochromatic
#070917 #161A45 #252C73 #343EA1 #4D58C6

Accessibility & contrast

On white

12.45
#252C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#252C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C73
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C73#FFFFFF#000000##FFFFFF
##252C731.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252c73;
/* rgb */ color: rgb(37, 44, 115);
/* oklch */ color: oklch(33.4% 0.121 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a659c',
    500: '#252c73',
    950: '#000000',
  },
}
SCSS
$custom: #252c73;
$custom-light: #6a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#252c73",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 234.615,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3336,
    "c": 0.12088,
    "h": 273.6
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#252C73
secondary
#A69E4E
accent
#CE4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252C73

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

Preview Lab → · Contrast checker → · Palette generator →

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