#252494#252494

#252494 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.176 H 273.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#252494
RGBrgb(37, 36, 148)
HSLhsl(241, 61%, 36%)
HSVhsv(241, 76%, 58%)
CMYKcmyk(75%, 75.7%, 0%, 42%)
CIE-LABlab(22.97, 38.94, -60.57)
CIE-LCHlch(22.97, 72.01, 302.74°)
OKLaboklab(35.26% 0.0096 -0.1753)
OKLCHoklch(35.26% 0.176 273.1)
XYZxyz(6.7373, 3.7925, 28.3882)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252494 #939424
analogous
#245B94 #252494 #5D2494
triadic
#252494 #942524 #249425
tetradic
#252494 #94245B #939424 #24945D
square
#252494 #94245B #939424 #24945D
split-complementary
#252494 #945D24 #5B9424
monochromatic
#0C0C32 #191863 #252494 #3130C5 #5C5BD7

Accessibility & contrast

On white

11.94
#252494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252494
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252494#FFFFFF#000000##FFFFFF
##2524941.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252494;
/* rgb */ color: rgb(37, 36, 148);
/* oklch */ color: oklch(35.3% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#7260b5',
    500: '#252494',
    950: '#000000',
  },
}
SCSS
$custom: #252494;
$custom-light: #7260b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252494",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 240.536,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.17552,
    "h": 273.1
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#252494
secondary
#BBBC58
accent
#E444E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252494

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

Preview Lab → · Contrast checker → · Palette generator →

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