#1D52B3#1D52B3

#1D52B3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.164 H 261.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#1D52B3
RGBrgb(29, 82, 179)
HSLhsl(219, 72%, 41%)
HSVhsv(219, 84%, 70%)
CMYKcmyk(83.8%, 54.2%, 0%, 29.8%)
CIE-LABlab(37.02, 19.89, -56.30)
CIE-LCHlch(37.02, 59.71, 289.46°)
OKLaboklab(46.39% -0.025 -0.1625)
OKLCHoklch(46.39% 0.164 261.3)
XYZxyz(11.6577, 9.5490, 43.8678)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D52B3 #B37E1D
analogous
#1D9DB3 #1D52B3 #331DB3
triadic
#1D52B3 #B31D52 #52B31D
tetradic
#1D52B3 #B31D9D #B37E1D #1DB333
square
#1D52B3 #B31D9D #B37E1D #1DB333
split-complementary
#1D52B3 #B3331D #9DB31D
monochromatic
#0C224A #143A7E #1D52B3 #306DDD #6492E6

Accessibility & contrast

On white

7.22
#1D52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1D52B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D52B3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D52B3#FFFFFF#000000##FFFFFF
##1D52B31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1d52b3;
/* rgb */ color: rgb(29, 82, 179);
/* oklch */ color: oklch(46.4% 0.164 261.3);
Tailwind
colors: {
  custom: {
    50: '#7481ca',
    500: '#1d52b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d52b3;
$custom-light: #7481ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1d52b3",
  "rgb": {
    "r": 29,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 218.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.16439,
    "h": 261.3
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#1D52B3
secondary
#CBA561
accent
#AF39EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1D52B3

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

Preview Lab → · Contrast checker → · Palette generator →

#1D52B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva