#252F4E#252F4E

#252F4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.058 H 269.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#252F4E
RGBrgb(37, 47, 78)
HSLhsl(225, 36%, 23%)
HSVhsv(225, 53%, 31%)
CMYKcmyk(52.6%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.95, 5.73, -20.42)
CIE-LCHlch(19.95, 21.21, 285.67°)
OKLaboklab(31.19% -0.0007 -0.0575)
OKLCHoklch(31.19% 0.058 269.3)
XYZxyz(3.1542, 2.9762, 7.6145)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F4E #4E4425
analogous
#25434E #252F4E #30254E
triadic
#252F4E #4E252F #2F4E25
tetradic
#252F4E #4E2543 #4E4425 #254E30
square
#252F4E #4E2543 #4E4425 #254E30
split-complementary
#252F4E #4E3025 #434E25
monochromatic
#0A0D15 #111624 #252F4E #394878 #4C61A1

Accessibility & contrast

On white

13.16
#252F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#252F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F4E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F4E#FFFFFF#000000##FFFFFF
##252F4E1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#1F2F4D
Tritanopia (blue-blind)
#15363A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252f4e;
/* rgb */ color: rgb(37, 47, 78);
/* oklch */ color: oklch(31.2% 0.058 269.3);
Tailwind
colors: {
  custom: {
    50: '#62677f',
    500: '#252f4e',
    950: '#000000',
  },
}
SCSS
$custom: #252f4e;
$custom-light: #62677f;
$custom-dark: #000000;
JSON
{
  "hex": "#252f4e",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 225.366,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31191,
    "c": 0.05754,
    "h": 269.3
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#252F4E
secondary
#81754E
accent
#B05CCC
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #252F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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