#252E72#252E72

#252E72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.117 H 272.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#252E72
RGBrgb(37, 46, 114)
HSLhsl(233, 51%, 30%)
HSVhsv(233, 68%, 45%)
CMYKcmyk(67.5%, 59.6%, 0%, 55.3%)
CIE-LABlab(22.17, 20.00, -40.50)
CIE-LCHlch(22.17, 45.17, 296.28°)
OKLaboklab(33.68% 0.0056 -0.1165)
OKLCHoklch(33.68% 0.117 272.8)
XYZxyz(4.7762, 3.5618, 16.3521)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E72 #726925
analogous
#255572 #252E72 #432572
triadic
#252E72 #72252E #2E7225
tetradic
#252E72 #722555 #726925 #257243
square
#252E72 #722555 #726925 #257243
split-complementary
#252E72 #724325 #557225
monochromatic
#070917 #161B44 #252E72 #3441A0 #4C5AC5

Accessibility & contrast

On white

12.26
#252E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#252E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E72
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E72#FFFFFF#000000##FFFFFF
##252E721.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252e72;
/* rgb */ color: rgb(37, 46, 114);
/* oklch */ color: oklch(33.7% 0.117 272.8);
Tailwind
colors: {
  custom: {
    50: '#69669b',
    500: '#252e72',
    950: '#000000',
  },
}
SCSS
$custom: #252e72;
$custom-light: #69669b;
$custom-dark: #000000;
JSON
{
  "hex": "#252e72",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 232.987,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33682,
    "c": 0.11663,
    "h": 272.8
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#252E72
secondary
#A59B4E
accent
#CA4DDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252E72

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

Preview Lab → · Contrast checker → · Palette generator →

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