#252C72#252C72

#252C72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.119 H 273.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#252C72
RGBrgb(37, 44, 114)
HSLhsl(235, 51%, 30%)
HSVhsv(235, 68%, 45%)
CMYKcmyk(67.5%, 61.4%, 0%, 55.3%)
CIE-LABlab(21.61, 21.39, -41.40)
CIE-LCHlch(21.61, 46.60, 297.33°)
OKLaboklab(33.27% 0.0076 -0.1192)
OKLCHoklch(33.27% 0.119 273.6)
XYZxyz(4.6999, 3.4092, 16.3267)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C72 #726B25
analogous
#255372 #252C72 #442572
triadic
#252C72 #72252C #2C7225
tetradic
#252C72 #722553 #726B25 #257244
square
#252C72 #722553 #726B25 #257244
split-complementary
#252C72 #724425 #537225
monochromatic
#070917 #161A44 #252C72 #343EA0 #4C57C5

Accessibility & contrast

On white

12.49
#252C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C72
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C72#FFFFFF#000000##FFFFFF
##252C721.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252c72;
/* rgb */ color: rgb(37, 44, 114);
/* oklch */ color: oklch(33.3% 0.119 273.6);
Tailwind
colors: {
  custom: {
    50: '#69659b',
    500: '#252c72',
    950: '#000000',
  },
}
SCSS
$custom: #252c72;
$custom-light: #69659b;
$custom-dark: #000000;
JSON
{
  "hex": "#252c72",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 234.545,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.1194,
    "h": 273.6
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#252C72
secondary
#A59D4E
accent
#CE4DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252C72

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

Preview Lab → · Contrast checker → · Palette generator →

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