#1D27A6#1D27A6

#1D27A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.197 H 269.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1D27A6
RGBrgb(29, 39, 166)
HSLhsl(236, 70%, 38%)
HSVhsv(236, 83%, 65%)
CMYKcmyk(82.5%, 76.5%, 0%, 34.9%)
CIE-LABlab(25.15, 42.77, -67.99)
CIE-LCHlch(25.15, 80.32, 302.17°)
OKLaboklab(37.27% -0.0034 -0.197)
OKLCHoklch(37.27% 0.197 269)
XYZxyz(8.1128, 4.4645, 36.5031)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D27A6 #A69C1D
analogous
#1D6CA6 #1D27A6 #571DA6
triadic
#1D27A6 #A61D27 #27A61D
tetradic
#1D27A6 #A61D6C #A69C1D #1DA657
square
#1D27A6 #A61D6C #A69C1D #1DA657
split-complementary
#1D27A6 #A6571D #6CA61D
monochromatic
#0B0F3E #141B72 #1D27A6 #2734D9 #5B65E2

Accessibility & contrast

On white

11.09
#1D27A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D27A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D27A6
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D27A6#FFFFFF#000000##FFFFFF
##1D27A61.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d27a6;
/* rgb */ color: rgb(29, 39, 166);
/* oklch */ color: oklch(37.3% 0.197 269.0);
Tailwind
colors: {
  custom: {
    50: '#7463c2',
    500: '#1d27a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d27a6;
$custom-light: #7463c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d27a6",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 235.62,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.19702,
    "h": 269
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#1D27A6
secondary
#C6BE59
accent
#E03BED
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1D27A6

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

Preview Lab → · Contrast checker → · Palette generator →

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