#252B60#252B60

#252B60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.093 H 274.9°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#252B60
RGBrgb(37, 43, 96)
HSLhsl(234, 44%, 26%)
HSVhsv(234, 61%, 38%)
CMYKcmyk(61.5%, 55.2%, 0%, 62.4%)
CIE-LABlab(19.90, 15.27, -32.47)
CIE-LCHlch(19.90, 35.88, 295.18°)
OKLaboklab(31.54% 0.0079 -0.0929)
OKLCHoklch(31.54% 0.093 274.9)
XYZxyz(3.7375, 2.9653, 11.4395)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B60 #605A25
analogous
#254860 #252B60 #3C2560
triadic
#252B60 #60252B #2B6025
tetradic
#252B60 #602548 #605A25 #25603C
square
#252B60 #602548 #605A25 #25603C
split-complementary
#252B60 #603C25 #486025
monochromatic
#090A16 #141734 #252B60 #363F8C #4753B8

Accessibility & contrast

On white

13.18
#252B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#252B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B60
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B60#FFFFFF#000000##FFFFFF
##252B601.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#023741
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252b60;
/* rgb */ color: rgb(37, 43, 96);
/* oklch */ color: oklch(31.5% 0.093 274.9);
Tailwind
colors: {
  custom: {
    50: '#66648d',
    500: '#252b60',
    950: '#000000',
  },
}
SCSS
$custom: #252b60;
$custom-light: #66648d;
$custom-dark: #000000;
JSON
{
  "hex": "#252b60",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 233.898,
    "s": 44.361,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.09323,
    "h": 274.9
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#252B60
secondary
#938C4D
accent
#C754D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #252B60

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

Preview Lab → · Contrast checker → · Palette generator →

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