#252941#252941

#252941 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.9% C 0.044 H 276.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#252941
RGBrgb(37, 41, 65)
HSLhsl(231, 27%, 20%)
HSVhsv(231, 43%, 25%)
CMYKcmyk(43.1%, 36.9%, 0%, 74.5%)
CIE-LABlab(17.28, 5.46, -15.76)
CIE-LCHlch(17.28, 16.68, 289.10°)
OKLaboklab(28.89% 0.0046 -0.044)
OKLCHoklch(28.89% 0.044 276)
XYZxyz(2.5097, 2.3607, 5.3234)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252941 #413D25
analogous
#253741 #252941 #2F2541
triadic
#252941 #412529 #294125
tetradic
#252941 #412537 #413D25 #25412F
square
#252941 #412537 #413D25 #25412F
split-complementary
#252941 #412F25 #374125
monochromatic
#0B0C14 #0F101A #252941 #3B4268 #515A8F

Accessibility & contrast

On white

14.26
#252941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#252941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252941
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252941#FFFFFF#000000##FFFFFF
##2529411.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C42
Deuteranopia (green-blind)
#1F2940
Tritanopia (blue-blind)
#1D2E32
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252941;
/* rgb */ color: rgb(37, 41, 65);
/* oklch */ color: oklch(28.9% 0.044 276.0);
Tailwind
colors: {
  custom: {
    50: '#616275',
    500: '#252941',
    950: '#000000',
  },
}
SCSS
$custom: #252941;
$custom-light: #616275;
$custom-dark: #000000;
JSON
{
  "hex": "#252941",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 65
  },
  "hsl": {
    "h": 231.429,
    "s": 27.451,
    "l": 20
  },
  "oklch": {
    "l": 0.28887,
    "c": 0.04428,
    "h": 276
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#252941
secondary
#746E4E
accent
#B664C4
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #252941

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

Preview Lab → · Contrast checker → · Palette generator →

#252941 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva