#252893#252893

#252893 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.170 H 272.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#252893
RGBrgb(37, 40, 147)
HSLhsl(238, 60%, 36%)
HSVhsv(238, 75%, 58%)
CMYKcmyk(74.8%, 72.8%, 0%, 42.4%)
CIE-LABlab(23.73, 36.19, -58.71)
CIE-LCHlch(23.73, 68.97, 301.65°)
OKLaboklab(35.76% 0.0077 -0.1699)
OKLCHoklch(35.76% 0.17 272.6)
XYZxyz(6.7864, 4.0168, 28.0158)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252893 #939025
analogous
#255F93 #252893 #592593
triadic
#252893 #932528 #289325
tetradic
#252893 #93255F #939025 #259359
square
#252893 #93255F #939025 #259359
split-complementary
#252893 #935925 #5F9325
monochromatic
#0C0D31 #191B62 #252893 #3135C4 #5C60D6

Accessibility & contrast

On white

11.64
#252893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252893
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252893#FFFFFF#000000##FFFFFF
##2528931.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252893;
/* rgb */ color: rgb(37, 40, 147);
/* oklch */ color: oklch(35.8% 0.170 272.6);
Tailwind
colors: {
  custom: {
    50: '#7263b4',
    500: '#252893',
    950: '#000000',
  },
}
SCSS
$custom: #252893;
$custom-light: #7263b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252893",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 238.364,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35763,
    "c": 0.17004,
    "h": 272.6
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252893

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

Preview Lab → · Contrast checker → · Palette generator →

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