#1D2277#1D2277

#1D2277 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.142 H 272.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1D2277
RGBrgb(29, 34, 119)
HSLhsl(237, 61%, 29%)
HSVhsv(237, 76%, 47%)
CMYKcmyk(75.6%, 71.4%, 0%, 53.3%)
CIE-LABlab(18.96, 28.96, -48.97)
CIE-LCHlch(18.96, 56.89, 300.59°)
OKLaboklab(31.33% 0.0056 -0.1416)
OKLCHoklch(31.33% 0.142 272.3)
XYZxyz(4.4074, 2.7367, 17.7452)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2277 #77721D
analogous
#1D4F77 #1D2277 #451D77
triadic
#1D2277 #771D22 #22771D
tetradic
#1D2277 #771D4F #77721D #1D7745
square
#1D2277 #771D4F #77721D #1D7745
split-complementary
#1D2277 #77451D #4F771D
monochromatic
#060719 #111446 #1D2277 #2930A8 #3E46D0

Accessibility & contrast

On white

13.57
#1D2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2277
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2277#FFFFFF#000000##FFFFFF
##1D22771.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2277;
/* rgb */ color: rgb(29, 34, 119);
/* oklch */ color: oklch(31.3% 0.142 272.3);
Tailwind
colors: {
  custom: {
    50: '#685d9f',
    500: '#1d2277',
    950: '#000000',
  },
}
SCSS
$custom: #1d2277;
$custom-light: #685d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2277",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 236.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31328,
    "c": 0.14175,
    "h": 272.3
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#1D2277
secondary
#ABA545
accent
#DB44E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1D2277

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

Preview Lab → · Contrast checker → · Palette generator →

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