#252ABC#252ABC

#252ABC is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.219 H 270.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#252ABC
RGBrgb(37, 42, 188)
HSLhsl(238, 67%, 44%)
HSVhsv(238, 80%, 74%)
CMYKcmyk(80.3%, 77.7%, 0%, 26.3%)
CIE-LABlab(28.59, 48.98, -75.45)
CIE-LCHlch(28.59, 89.95, 302.99°)
OKLaboklab(40.53% -0.0001 -0.2185)
OKLCHoklch(40.53% 0.219 270)
XYZxyz(10.6649, 5.6789, 48.1012)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252ABC #BCB725
analogous
#2576BC #252ABC #6C25BC
triadic
#252ABC #BC252A #2ABC25
tetradic
#252ABC #BC2576 #BCB725 #25BC6C
square
#252ABC #BC2576 #BCB725 #25BC6C
split-complementary
#252ABC #BC6C25 #76BC25
monochromatic
#111356 #1B1F89 #252ABC #4449DA #777BE4

Accessibility & contrast

On white

9.83
#252ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#252ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252ABC
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252ABC#FFFFFF#000000##FFFFFF
##252ABC1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003CB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #252abc;
/* rgb */ color: rgb(37, 42, 188);
/* oklch */ color: oklch(40.5% 0.219 270.0);
Tailwind
colors: {
  custom: {
    50: '#7c66d2',
    500: '#252abc',
    950: '#000000',
  },
}
SCSS
$custom: #252abc;
$custom-light: #7c66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#252abc",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 238.013,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.21852,
    "h": 270
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#252ABC
secondary
#CCC971
accent
#E43EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #252ABC

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

Preview Lab → · Contrast checker → · Palette generator →

#252ABC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva