#252B58#252B58

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

Color values

HEX#252B58
RGBrgb(37, 43, 88)
HSLhsl(233, 41%, 25%)
HSVhsv(233, 58%, 35%)
CMYKcmyk(58%, 51.1%, 0%, 65.5%)
CIE-LABlab(19.33, 12.26, -28.09)
CIE-LCHlch(19.33, 30.65, 293.58°)
OKLaboklab(30.92% 0.007 -0.08)
OKLCHoklch(30.92% 0.08 275)
XYZxyz(3.3877, 2.8254, 9.5975)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B58 #585225
analogous
#254558 #252B58 #392558
triadic
#252B58 #58252B #2B5825
tetradic
#252B58 #582545 #585225 #255839
square
#252B58 #582545 #585225 #255839
split-complementary
#252B58 #583925 #455825
monochromatic
#090B16 #13162D #252B58 #374083 #4955AE

Accessibility & contrast

On white

13.42
#252B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B58
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B58#FFFFFF#000000##FFFFFF
##252B581.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16315A
Deuteranopia (green-blind)
#102D57
Tritanopia (blue-blind)
#0D353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #252b58;
/* rgb */ color: rgb(37, 43, 88);
/* oklch */ color: oklch(30.9% 0.080 275.0);
Tailwind
colors: {
  custom: {
    50: '#646487',
    500: '#252b58',
    950: '#000000',
  },
}
SCSS
$custom: #252b58;
$custom-light: #646487;
$custom-dark: #000000;
JSON
{
  "hex": "#252b58",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 232.941,
    "s": 40.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.08032,
    "h": 275
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#252B58
secondary
#8B844D
accent
#C257D1
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #252B58

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

Preview Lab → · Contrast checker → · Palette generator →

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