#252894#252894

#252894 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.171 H 272.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#252894
RGBrgb(37, 40, 148)
HSLhsl(238, 60%, 36%)
HSVhsv(238, 75%, 58%)
CMYKcmyk(75%, 73%, 0%, 42%)
CIE-LABlab(23.83, 36.55, -59.16)
CIE-LCHlch(23.83, 69.54, 301.71°)
OKLaboklab(35.87% 0.0075 -0.1712)
OKLCHoklch(35.87% 0.171 272.5)
XYZxyz(6.8652, 4.0483, 28.4308)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252894 #949125
analogous
#256094 #252894 #5A2594
triadic
#252894 #942528 #289425
tetradic
#252894 #942560 #949125 #25945A
square
#252894 #942560 #949125 #25945A
split-complementary
#252894 #945A25 #609425
monochromatic
#0D0E32 #191B63 #252894 #3135C5 #5D60D6

Accessibility & contrast

On white

11.60
#252894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252894
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252894#FFFFFF#000000##FFFFFF
##2528941.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252894;
/* rgb */ color: rgb(37, 40, 148);
/* oklch */ color: oklch(35.9% 0.171 272.5);
Tailwind
colors: {
  custom: {
    50: '#7263b5',
    500: '#252894',
    950: '#000000',
  },
}
SCSS
$custom: #252894;
$custom-light: #7263b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252894",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 238.378,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35868,
    "c": 0.17134,
    "h": 272.5
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#252894
secondary
#BBB959
accent
#DF45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252894

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

Preview Lab → · Contrast checker → · Palette generator →

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