#252D4F#252D4F

#252D4F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.062 H 272.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#252D4F
RGBrgb(37, 45, 79)
HSLhsl(229, 36%, 23%)
HSVhsv(229, 53%, 31%)
CMYKcmyk(53.2%, 43%, 0%, 69%)
CIE-LABlab(19.37, 7.51, -22.01)
CIE-LCHlch(19.37, 23.25, 288.85°)
OKLaboklab(30.76% 0.0025 -0.0622)
OKLCHoklch(30.76% 0.062 272.3)
XYZxyz(3.1122, 2.8344, 7.7787)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D4F #4F4725
analogous
#25424F #252D4F #32254F
triadic
#252D4F #4F252D #2D4F25
tetradic
#252D4F #4F2542 #4F4725 #254F32
square
#252D4F #4F2542 #4F4725 #254F32
split-complementary
#252D4F #4F3225 #424F25
monochromatic
#0A0C15 #111525 #252D4F #394579 #4C5CA2

Accessibility & contrast

On white

13.40
#252D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#252D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D4F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D4F#FFFFFF#000000##FFFFFF
##252D4F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#14343A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252d4f;
/* rgb */ color: rgb(37, 45, 79);
/* oklch */ color: oklch(30.8% 0.062 272.3);
Tailwind
colors: {
  custom: {
    50: '#626580',
    500: '#252d4f',
    950: '#000000',
  },
}
SCSS
$custom: #252d4f;
$custom-light: #626580;
$custom-dark: #000000;
JSON
{
  "hex": "#252d4f",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 228.571,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30763,
    "c": 0.06223,
    "h": 272.3
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#252D4F
secondary
#82784E
accent
#B75CCC
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #252D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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