#252E5E#252E5E

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

Color values

HEX#252E5E
RGBrgb(37, 46, 94)
HSLhsl(231, 44%, 26%)
HSVhsv(231, 61%, 37%)
CMYKcmyk(60.6%, 51.1%, 0%, 63.1%)
CIE-LABlab(20.66, 12.37, -29.95)
CIE-LCHlch(20.66, 32.40, 292.44°)
OKLaboklab(32.06% 0.004 -0.0854)
OKLCHoklch(32.06% 0.086 272.7)
XYZxyz(3.7597, 3.1552, 10.9984)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E5E #5E5525
analogous
#254A5E #252E5E #38255E
triadic
#252E5E #5E252E #2E5E25
tetradic
#252E5E #5E254A #5E5525 #255E38
square
#252E5E #5E254A #5E5525 #255E38
split-complementary
#252E5E #5E3825 #4A5E25
monochromatic
#090B16 #141932 #252E5E #36438A #4859B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252E5E#FFFFFF#000000##FFFFFF
##252E5E1.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)
#173460
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#043941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252e5e;
/* rgb */ color: rgb(37, 46, 94);
/* oklch */ color: oklch(32.1% 0.086 272.7);
Tailwind
colors: {
  custom: {
    50: '#65668c',
    500: '#252e5e',
    950: '#000000',
  },
}
SCSS
$custom: #252e5e;
$custom-light: #65668c;
$custom-dark: #000000;
JSON
{
  "hex": "#252e5e",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 230.526,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.08553,
    "h": 272.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#252E5E
secondary
#91874D
accent
#BF55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #252E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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