#252F3F#252F3F

#252F3F is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.3% C 0.032 H 259.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#252F3F
RGBrgb(37, 47, 63)
HSLhsl(217, 26%, 20%)
HSVhsv(217, 41%, 25%)
CMYKcmyk(41.3%, 25.4%, 0%, 75.3%)
CIE-LABlab(19.16, 0.56, -11.46)
CIE-LCHlch(19.16, 11.48, 272.78°)
OKLaboklab(30.32% -0.0058 -0.0317)
OKLCHoklch(30.32% 0.032 259.7)
XYZxyz(2.6764, 2.7851, 5.0982)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F3F #3F3525
analogous
#253C3F #252F3F #28253F
triadic
#252F3F #3F252F #2F3F25
tetradic
#252F3F #3F253C #3F3525 #253F28
square
#252F3F #3F253C #3F3525 #253F28
split-complementary
#252F3F #3F2825 #3C3F25
monochromatic
#0B0E13 #0E1218 #252F3F #3C4C66 #52698C

Accessibility & contrast

On white

13.49
#252F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#252F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F3F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F3F#FFFFFF#000000##FFFFFF
##252F3F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293040
Deuteranopia (green-blind)
#272D3F
Tritanopia (blue-blind)
#1D3234
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #252f3f;
/* rgb */ color: rgb(37, 47, 63);
/* oklch */ color: oklch(30.3% 0.032 259.7);
Tailwind
colors: {
  custom: {
    50: '#606774',
    500: '#252f3f',
    950: '#000000',
  },
}
SCSS
$custom: #252f3f;
$custom-light: #606774;
$custom-dark: #000000;
JSON
{
  "hex": "#252f3f",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 216.923,
    "s": 26,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30321,
    "c": 0.03225,
    "h": 259.7
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#252F3F
secondary
#71644E
accent
#9F65C2
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #252F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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