#252B59#252B59

#252B59 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.082 H 275.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#252B59
RGBrgb(37, 43, 89)
HSLhsl(233, 41%, 25%)
HSVhsv(233, 58%, 35%)
CMYKcmyk(58.4%, 51.7%, 0%, 65.1%)
CIE-LABlab(19.40, 12.63, -28.65)
CIE-LCHlch(19.40, 31.31, 293.80°)
OKLaboklab(31% 0.0071 -0.0816)
OKLCHoklch(31% 0.082 275)
XYZxyz(3.4294, 2.8421, 9.8171)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B59 #595325
analogous
#254559 #252B59 #392559
triadic
#252B59 #59252B #2B5925
tetradic
#252B59 #592545 #595325 #255939
square
#252B59 #592545 #595325 #255939
split-complementary
#252B59 #593925 #455925
monochromatic
#090A16 #13162E #252B59 #374084 #4955AF

Accessibility & contrast

On white

13.39
#252B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B59
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B59#FFFFFF#000000##FFFFFF
##252B591.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315B
Deuteranopia (green-blind)
#0F2D58
Tritanopia (blue-blind)
#0C353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252b59;
/* rgb */ color: rgb(37, 43, 89);
/* oklch */ color: oklch(31.0% 0.082 275.0);
Tailwind
colors: {
  custom: {
    50: '#646488',
    500: '#252b59',
    950: '#000000',
  },
}
SCSS
$custom: #252b59;
$custom-light: #646488;
$custom-dark: #000000;
JSON
{
  "hex": "#252b59",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 233.077,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30999,
    "c": 0.08196,
    "h": 275
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#252B59
secondary
#8C854D
accent
#C357D1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050B
muted
#7A797C

Preview Lab

Preview with #252B59

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

Preview Lab → · Contrast checker → · Palette generator →

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