#252FC4#252FC4

#252FC4 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.223 H 269.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#252FC4
RGBrgb(37, 47, 196)
HSLhsl(236, 68%, 46%)
HSVhsv(236, 81%, 77%)
CMYKcmyk(81.1%, 76%, 0%, 23.1%)
CIE-LABlab(30.43, 48.90, -77.12)
CIE-LCHlch(30.43, 91.31, 302.38°)
OKLaboklab(42.09% -0.0029 -0.2234)
OKLCHoklch(42.09% 0.223 269.3)
XYZxyz(11.7399, 6.4105, 52.8325)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252FC4 #C4BA25
analogous
#257FC4 #252FC4 #6A25C4
triadic
#252FC4 #C4252F #2FC425
tetradic
#252FC4 #C4257F #C4BA25 #25C46A
square
#252FC4 #C4257F #C4BA25 #25C46A
split-complementary
#252FC4 #C46A25 #7FC425
monochromatic
#12165D #1B2391 #252FC4 #4953DD #7D84E6

Accessibility & contrast

On white

9.20
#252FC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#252FC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252FC4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252FC4#FFFFFF#000000##FFFFFF
##252FC41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#003FC1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #252fc4;
/* rgb */ color: rgb(37, 47, 196);
/* oklch */ color: oklch(42.1% 0.223 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d6ad7',
    500: '#252fc4',
    950: '#000000',
  },
}
SCSS
$custom: #252fc4;
$custom-light: #7d6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#252fc4",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 236.226,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.22344,
    "h": 269.3
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#252FC4
secondary
#CFC976
accent
#E03DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #252FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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