#252E7E#252E7E

#252E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.134 H 272.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#252E7E
RGBrgb(37, 46, 126)
HSLhsl(234, 55%, 32%)
HSVhsv(234, 71%, 49%)
CMYKcmyk(70.6%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.18, 24.57, -46.49)
CIE-LCHlch(23.18, 52.59, 297.86°)
OKLaboklab(34.75% 0.0056 -0.1341)
OKLCHoklch(34.75% 0.134 272.4)
XYZxyz(5.5046, 3.8531, 20.1883)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E7E #7E7525
analogous
#255A7E #252E7E #49257E
triadic
#252E7E #7E252E #2E7E25
tetradic
#252E7E #7E255A #7E7525 #257E49
square
#252E7E #7E255A #7E7525 #257E49
split-complementary
#252E7E #7E4925 #5A7E25
monochromatic
#090B1F #171D4F #252E7E #333FAD #515ECC

Accessibility & contrast

On white

11.86
#252E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E7E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E7E#FFFFFF#000000##FFFFFF
##252E7E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252e7e;
/* rgb */ color: rgb(37, 46, 126);
/* oklch */ color: oklch(34.8% 0.134 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c66a4',
    500: '#252e7e',
    950: '#000000',
  },
}
SCSS
$custom: #252e7e;
$custom-light: #6c66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#252e7e",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 233.933,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.13421,
    "h": 272.4
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#252E7E
secondary
#B0A64F
accent
#CF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #252E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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