#252CB0#252CB0

#252CB0 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.202 H 270.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#252CB0
RGBrgb(37, 44, 176)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79%, 75%, 0%, 31%)
CIE-LABlab(27.65, 43.87, -69.86)
CIE-LCHlch(27.65, 82.49, 302.13°)
OKLaboklab(39.48% 0.0013 -0.2023)
OKLCHoklch(39.48% 0.202 270.4)
XYZxyz(9.4974, 5.3282, 41.5938)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CB0 #B0A925
analogous
#2572B0 #252CB0 #6325B0
triadic
#252CB0 #B0252C #2CB025
tetradic
#252CB0 #B02572 #B0A925 #25B063
square
#252CB0 #B02572 #B0A925 #25B063
split-complementary
#252CB0 #B06325 #72B025
monochromatic
#10134B #1A1F7D #252CB0 #3C44D6 #6F74E1

Accessibility & contrast

On white

10.17
#252CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#252CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CB0
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CB0#FFFFFF#000000##FFFFFF
##252CB01.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #252cb0;
/* rgb */ color: rgb(37, 44, 176);
/* oklch */ color: oklch(39.5% 0.202 270.4);
Tailwind
colors: {
  custom: {
    50: '#7967c9',
    500: '#252cb0',
    950: '#000000',
  },
}
SCSS
$custom: #252cb0;
$custom-light: #7967c9;
$custom-dark: #000000;
JSON
{
  "hex": "#252cb0",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 236.978,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.20233,
    "h": 270.4
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#252CB0
secondary
#C7C36A
accent
#E040E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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