#252892#252892

#252892 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.169 H 272.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#252892
RGBrgb(37, 40, 146)
HSLhsl(238, 60%, 36%)
HSVhsv(238, 75%, 57%)
CMYKcmyk(74.7%, 72.6%, 0%, 42.7%)
CIE-LABlab(23.62, 35.84, -58.26)
CIE-LCHlch(23.62, 68.41, 301.60°)
OKLaboklab(35.66% 0.0078 -0.1686)
OKLCHoklch(35.66% 0.169 272.7)
XYZxyz(6.7083, 3.9855, 27.6043)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252892 #928F25
analogous
#255E92 #252892 #582592
triadic
#252892 #922528 #289225
tetradic
#252892 #92255E #928F25 #259258
square
#252892 #92255E #928F25 #259258
split-complementary
#252892 #925825 #5E9225
monochromatic
#0C0D30 #191B61 #252892 #3135C3 #5C5FD6

Accessibility & contrast

On white

11.68
#252892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252892
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252892#FFFFFF#000000##FFFFFF
##2528921.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252892;
/* rgb */ color: rgb(37, 40, 146);
/* oklch */ color: oklch(35.7% 0.169 272.7);
Tailwind
colors: {
  custom: {
    50: '#7263b3',
    500: '#252892',
    950: '#000000',
  },
}
SCSS
$custom: #252892;
$custom-light: #7263b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252892",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 238.349,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35658,
    "c": 0.16874,
    "h": 272.7
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#252892
secondary
#BAB858
accent
#DE45E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252892

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

Preview Lab → · Contrast checker → · Palette generator →

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