#252689#252689

#252689 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.159 H 273.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#252689
RGBrgb(37, 38, 137)
HSLhsl(239, 57%, 34%)
HSVhsv(239, 73%, 54%)
CMYKcmyk(73%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.25, 33.88, -54.93)
CIE-LCHlch(22.25, 64.54, 301.67°)
OKLaboklab(34.39% 0.0104 -0.1588)
OKLCHoklch(34.39% 0.159 273.7)
XYZxyz(5.9699, 3.5851, 24.0394)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252689 #898825
analogous
#255889 #252689 #562589
triadic
#252689 #892526 #268925
tetradic
#252689 #892558 #898825 #258956
square
#252689 #892558 #898825 #258956
split-complementary
#252689 #895625 #588925
monochromatic
#0B0B29 #181959 #252689 #3233B9 #5758D2

Accessibility & contrast

On white

12.23
#252689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252689
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252689#FFFFFF#000000##FFFFFF
##2526891.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252689;
/* rgb */ color: rgb(37, 38, 137);
/* oklch */ color: oklch(34.4% 0.159 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f61ac',
    500: '#252689',
    950: '#000000',
  },
}
SCSS
$custom: #252689;
$custom-light: #6f61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252689",
  "rgb": {
    "r": 37,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 239.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34393,
    "c": 0.15917,
    "h": 273.7
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#252689
secondary
#B6B554
accent
#DF47E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #252689

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

Preview Lab → · Contrast checker → · Palette generator →

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