#252D62#252D62

#252D62 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.093 H 273.5°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#252D62
RGBrgb(37, 45, 98)
HSLhsl(232, 45%, 26%)
HSVhsv(232, 62%, 38%)
CMYKcmyk(62.2%, 54.1%, 0%, 61.6%)
CIE-LABlab(20.64, 14.60, -32.60)
CIE-LCHlch(20.64, 35.72, 294.12°)
OKLaboklab(32.15% 0.0057 -0.0932)
OKLCHoklch(32.15% 0.093 273.5)
XYZxyz(3.9052, 3.1516, 11.9554)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D62 #625A25
analogous
#254C62 #252D62 #3C2562
triadic
#252D62 #62252D #2D6225
tetradic
#252D62 #62254C #625A25 #25623C
square
#252D62 #62254C #625A25 #25623C
split-complementary
#252D62 #623C25 #4C6225
monochromatic
#080A16 #141936 #252D62 #36418E #4857BA

Accessibility & contrast

On white

12.88
#252D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D62
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D62#FFFFFF#000000##FFFFFF
##252D621.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113464
Deuteranopia (green-blind)
#052F61
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252d62;
/* rgb */ color: rgb(37, 45, 98);
/* oklch */ color: oklch(32.1% 0.093 273.5);
Tailwind
colors: {
  custom: {
    50: '#66658f',
    500: '#252d62',
    950: '#000000',
  },
}
SCSS
$custom: #252d62;
$custom-light: #66658f;
$custom-dark: #000000;
JSON
{
  "hex": "#252d62",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 232.131,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32145,
    "c": 0.09342,
    "h": 273.5
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#252D62
secondary
#958C4E
accent
#C453D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252D62

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

Preview Lab → · Contrast checker → · Palette generator →

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