#252996#252996

#252996 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.173 H 272.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#252996
RGBrgb(37, 41, 150)
HSLhsl(238, 60%, 37%)
HSVhsv(238, 75%, 59%)
CMYKcmyk(75.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(24.26, 36.64, -59.68)
CIE-LCHlch(24.26, 70.03, 301.55°)
OKLaboklab(36.24% 0.0067 -0.1727)
OKLCHoklch(36.24% 0.173 272.2)
XYZxyz(7.0591, 4.1805, 29.2831)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252996 #969225
analogous
#256296 #252996 #5A2596
triadic
#252996 #962529 #299625
tetradic
#252996 #962562 #969225 #25965A
square
#252996 #962562 #969225 #25965A
split-complementary
#252996 #965A25 #629625
monochromatic
#0D0E34 #191C65 #252996 #3136C7 #5E62D7

Accessibility & contrast

On white

11.44
#252996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#252996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252996
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252996#FFFFFF#000000##FFFFFF
##2529961.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252996;
/* rgb */ color: rgb(37, 41, 150);
/* oklch */ color: oklch(36.2% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#7264b6',
    500: '#252996',
    950: '#000000',
  },
}
SCSS
$custom: #252996;
$custom-light: #7264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252996",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 237.876,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.17283,
    "h": 272.2
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#252996
secondary
#BCB95B
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252996

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

Preview Lab → · Contrast checker → · Palette generator →

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