#252869#252869

#252869 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.112 H 276.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#252869
RGBrgb(37, 40, 105)
HSLhsl(237, 48%, 28%)
HSVhsv(237, 65%, 41%)
CMYKcmyk(64.8%, 61.9%, 0%, 58.8%)
CIE-LABlab(19.76, 20.78, -38.59)
CIE-LCHlch(19.76, 43.83, 298.31°)
OKLaboklab(31.66% 0.0116 -0.1109)
OKLCHoklch(31.66% 0.112 276)
XYZxyz(4.0707, 2.9305, 13.7130)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252869 #696625
analogous
#254A69 #252869 #442569
triadic
#252869 #692528 #286925
tetradic
#252869 #69254A #696625 #256944
square
#252869 #69254A #696625 #256944
split-complementary
#252869 #694425 #4A6925
monochromatic
#080917 #15173C #252869 #353996 #494FBF

Accessibility & contrast

On white

13.24
#252869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#252869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252869
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252869#FFFFFF#000000##FFFFFF
##2528691.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252869;
/* rgb */ color: rgb(37, 40, 105);
/* oklch */ color: oklch(31.7% 0.112 276.0);
Tailwind
colors: {
  custom: {
    50: '#686294',
    500: '#252869',
    950: '#000000',
  },
}
SCSS
$custom: #252869;
$custom-light: #686294;
$custom-dark: #000000;
JSON
{
  "hex": "#252869",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 105
  },
  "hsl": {
    "h": 237.353,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31662,
    "c": 0.11154,
    "h": 276
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#252869
secondary
#9C994E
accent
#D250D7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #252869

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

Preview Lab → · Contrast checker → · Palette generator →

#252869 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva