#252DAC#252DAC

#252DAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.196 H 270.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#252DAC
RGBrgb(37, 45, 172)
HSLhsl(236, 65%, 41%)
HSVhsv(236, 78%, 67%)
CMYKcmyk(78.5%, 73.8%, 0%, 32.5%)
CIE-LABlab(27.43, 41.92, -67.83)
CIE-LCHlch(27.43, 79.74, 301.72°)
OKLaboklab(39.19% 0.0015 -0.1964)
OKLCHoklch(39.19% 0.196 270.4)
XYZxyz(9.1452, 5.2476, 39.5526)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DAC #ACA425
analogous
#2570AC #252DAC #6025AC
triadic
#252DAC #AC252D #2DAC25
tetradic
#252DAC #AC2570 #ACA425 #25AC60
square
#252DAC #AC2570 #ACA425 #25AC60
split-complementary
#252DAC #AC6025 #70AC25
monochromatic
#0F1347 #1A207A #252DAC #3A43D5 #6C73DF

Accessibility & contrast

On white

10.24
#252DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#252DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DAC
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DAC#FFFFFF#000000##FFFFFF
##252DAC1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252dac;
/* rgb */ color: rgb(37, 45, 172);
/* oklch */ color: oklch(39.2% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#7867c6',
    500: '#252dac',
    950: '#000000',
  },
}
SCSS
$custom: #252dac;
$custom-light: #7867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#252dac",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 236.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.19644,
    "h": 270.4
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#252DAC
secondary
#C6C067
accent
#DE40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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