#252B62#252B62

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

Color values

HEX#252B62
RGBrgb(37, 43, 98)
HSLhsl(234, 45%, 26%)
HSVhsv(234, 62%, 38%)
CMYKcmyk(62.2%, 56.1%, 0%, 61.6%)
CIE-LABlab(20.05, 16.02, -33.54)
CIE-LCHlch(20.05, 37.17, 295.53°)
OKLaboklab(31.7% 0.0081 -0.096)
OKLCHoklch(31.7% 0.096 274.8)
XYZxyz(3.8307, 3.0026, 11.9306)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B62 #625C25
analogous
#254A62 #252B62 #3E2562
triadic
#252B62 #62252B #2B6225
tetradic
#252B62 #62254A #625C25 #25623E
square
#252B62 #62254A #625C25 #25623E
split-complementary
#252B62 #623E25 #4A6225
monochromatic
#080A16 #141836 #252B62 #363E8E #4853BA

Accessibility & contrast

On white

13.12
#252B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B62
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B62#FFFFFF#000000##FFFFFF
##252B621.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252b62;
/* rgb */ color: rgb(37, 43, 98);
/* oklch */ color: oklch(31.7% 0.096 274.8);
Tailwind
colors: {
  custom: {
    50: '#66648f',
    500: '#252b62',
    950: '#000000',
  },
}
SCSS
$custom: #252b62;
$custom-light: #66648f;
$custom-dark: #000000;
JSON
{
  "hex": "#252b62",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 234.098,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31703,
    "c": 0.09638,
    "h": 274.8
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#252B62
secondary
#958E4E
accent
#C853D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252B62

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

Preview Lab → · Contrast checker → · Palette generator →

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