#252B63#252B63

#252B63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.098 H 274.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#252B63
RGBrgb(37, 43, 99)
HSLhsl(234, 46%, 27%)
HSVhsv(234, 63%, 39%)
CMYKcmyk(62.6%, 56.6%, 0%, 61.2%)
CIE-LABlab(20.13, 16.40, -34.08)
CIE-LCHlch(20.13, 37.82, 295.70°)
OKLaboklab(31.78% 0.0082 -0.0976)
OKLCHoklch(31.78% 0.098 274.8)
XYZxyz(3.8782, 3.0216, 12.1808)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B63 #635D25
analogous
#254A63 #252B63 #3E2563
triadic
#252B63 #63252B #2B6325
tetradic
#252B63 #63254A #635D25 #25633E
square
#252B63 #63254A #635D25 #25633E
split-complementary
#252B63 #633E25 #4A6325
monochromatic
#080A16 #141836 #252B63 #363E90 #4853BB

Accessibility & contrast

On white

13.09
#252B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B63
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B63#FFFFFF#000000##FFFFFF
##252B631.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252b63;
/* rgb */ color: rgb(37, 43, 99);
/* oklch */ color: oklch(31.8% 0.098 274.8);
Tailwind
colors: {
  custom: {
    50: '#666490',
    500: '#252b63',
    950: '#000000',
  },
}
SCSS
$custom: #252b63;
$custom-light: #666490;
$custom-dark: #000000;
JSON
{
  "hex": "#252b63",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 234.194,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31784,
    "c": 0.09795,
    "h": 274.8
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#252B63
secondary
#968F4E
accent
#C953D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252B63

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

Preview Lab → · Contrast checker → · Palette generator →

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