#252CAC#252CAC

#252CAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.197 H 270.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#252CAC
RGBrgb(37, 44, 172)
HSLhsl(237, 65%, 41%)
HSVhsv(237, 78%, 67%)
CMYKcmyk(78.5%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.22, 42.51, -68.17)
CIE-LCHlch(27.22, 80.34, 301.95°)
OKLaboklab(39.04% 0.0019 -0.1974)
OKLCHoklch(39.04% 0.197 270.6)
XYZxyz(9.1075, 5.1722, 39.5401)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CAC #ACA525
analogous
#256FAC #252CAC #6125AC
triadic
#252CAC #AC252C #2CAC25
tetradic
#252CAC #AC256F #ACA525 #25AC61
square
#252CAC #AC256F #ACA525 #25AC61
split-complementary
#252CAC #AC6125 #6FAC25
monochromatic
#0F1247 #1A1F7A #252CAC #3A42D5 #6C72DF

Accessibility & contrast

On white

10.32
#252CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#252CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CAC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CAC#FFFFFF#000000##FFFFFF
##252CAC1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252cac;
/* rgb */ color: rgb(37, 44, 172);
/* oklch */ color: oklch(39.0% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#7866c6',
    500: '#252cac',
    950: '#000000',
  },
}
SCSS
$custom: #252cac;
$custom-light: #7866c6;
$custom-dark: #000000;
JSON
{
  "hex": "#252cac",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 236.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.19743,
    "h": 270.6
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#252CAC
secondary
#C6C167
accent
#DF40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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