#252389#252389

#252389 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.162 H 274.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#252389
RGBrgb(37, 35, 137)
HSLhsl(241, 59%, 34%)
HSVhsv(241, 74%, 54%)
CMYKcmyk(73%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.58, 35.73, -56.03)
CIE-LCHlch(21.58, 66.45, 302.52°)
OKLaboklab(33.92% 0.0122 -0.162)
OKLCHoklch(33.92% 0.162 274.3)
XYZxyz(5.8778, 3.4010, 24.0087)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252389 #878923
analogous
#235489 #252389 #582389
triadic
#252389 #892523 #238925
tetradic
#252389 #892354 #878923 #238958
square
#252389 #892354 #878923 #238958
split-complementary
#252389 #895823 #548923
monochromatic
#0B0A28 #181758 #252389 #322FBA #5653D3

Accessibility & contrast

On white

12.50
#252389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252389
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252389#FFFFFF#000000##FFFFFF
##2523891.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252389;
/* rgb */ color: rgb(37, 35, 137);
/* oklch */ color: oklch(33.9% 0.162 274.3);
Tailwind
colors: {
  custom: {
    50: '#705fac',
    500: '#252389',
    950: '#000000',
  },
}
SCSS
$custom: #252389;
$custom-light: #705fac;
$custom-dark: #000000;
JSON
{
  "hex": "#252389",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 241.176,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.16248,
    "h": 274.3
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#252389
secondary
#B5B751
accent
#E245DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #252389

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

Preview Lab → · Contrast checker → · Palette generator →

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