#252E73#252E73

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

Color values

HEX#252E73
RGBrgb(37, 46, 115)
HSLhsl(233, 51%, 30%)
HSVhsv(233, 68%, 45%)
CMYKcmyk(67.8%, 60%, 0%, 54.9%)
CIE-LABlab(22.25, 20.38, -41.01)
CIE-LCHlch(22.25, 45.80, 296.42°)
OKLaboklab(33.77% 0.0057 -0.118)
OKLCHoklch(33.77% 0.118 272.8)
XYZxyz(4.8334, 3.5847, 16.6535)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E73 #736A25
analogous
#255573 #252E73 #432573
triadic
#252E73 #73252E #2E7325
tetradic
#252E73 #732555 #736A25 #257343
square
#252E73 #732555 #736A25 #257343
split-complementary
#252E73 #734325 #557325
monochromatic
#070917 #161B45 #252E73 #3441A1 #4D5BC6

Accessibility & contrast

On white

12.23
#252E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E73
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E73#FFFFFF#000000##FFFFFF
##252E731.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252e73;
/* rgb */ color: rgb(37, 46, 115);
/* oklch */ color: oklch(33.8% 0.118 272.8);
Tailwind
colors: {
  custom: {
    50: '#69669c',
    500: '#252e73',
    950: '#000000',
  },
}
SCSS
$custom: #252e73;
$custom-light: #69669c;
$custom-dark: #000000;
JSON
{
  "hex": "#252e73",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 233.077,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.11813,
    "h": 272.8
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#252E73
secondary
#A69C4E
accent
#CA4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #252E73

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

Preview Lab → · Contrast checker → · Palette generator →

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