#252896#252896

#252896 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.174 H 272.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#252896
RGBrgb(37, 40, 150)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(75.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.04, 37.25, -60.05)
CIE-LCHlch(24.04, 70.66, 301.81°)
OKLaboklab(36.08% 0.0072 -0.1738)
OKLCHoklch(36.08% 0.174 272.4)
XYZxyz(7.0249, 4.1122, 29.2718)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252896 #969325
analogous
#256196 #252896 #5B2596
triadic
#252896 #962528 #289625
tetradic
#252896 #962561 #969325 #25965B
square
#252896 #962561 #969325 #25965B
split-complementary
#252896 #965B25 #619625
monochromatic
#0D0E34 #191B65 #252896 #3135C7 #5E61D7

Accessibility & contrast

On white

11.52
#252896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252896
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252896#FFFFFF#000000##FFFFFF
##2528961.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252896;
/* rgb */ color: rgb(37, 40, 150);
/* oklch */ color: oklch(36.1% 0.174 272.4);
Tailwind
colors: {
  custom: {
    50: '#7363b6',
    500: '#252896',
    950: '#000000',
  },
}
SCSS
$custom: #252896;
$custom-light: #7363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252896",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 238.407,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.17391,
    "h": 272.4
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#252896
secondary
#BCBA5B
accent
#DF44E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252896

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

Preview Lab → · Contrast checker → · Palette generator →

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