#1D2274#1D2274

#1D2274 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.138 H 272.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1D2274
RGBrgb(29, 34, 116)
HSLhsl(237, 60%, 28%)
HSVhsv(237, 75%, 45%)
CMYKcmyk(75%, 70.7%, 0%, 54.5%)
CIE-LABlab(18.65, 27.83, -47.55)
CIE-LCHlch(18.65, 55.09, 300.34°)
OKLaboklab(31.01% 0.006 -0.1375)
OKLCHoklch(31.01% 0.138 272.5)
XYZxyz(4.2300, 2.6658, 16.8112)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2274 #746F1D
analogous
#1D4D74 #1D2274 #431D74
triadic
#1D2274 #741D22 #22741D
tetradic
#1D2274 #741D4D #746F1D #1D7443
square
#1D2274 #741D4D #746F1D #1D7443
split-complementary
#1D2274 #74431D #4D741D
monochromatic
#060718 #111443 #1D2274 #2930A5 #3D45CE

Accessibility & contrast

On white

13.70
#1D2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2274
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2274#FFFFFF#000000##FFFFFF
##1D22741.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2274;
/* rgb */ color: rgb(29, 34, 116);
/* oklch */ color: oklch(31.0% 0.138 272.5);
Tailwind
colors: {
  custom: {
    50: '#675d9d',
    500: '#1d2274',
    950: '#000000',
  },
}
SCSS
$custom: #1d2274;
$custom-light: #675d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2274",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 236.552,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31015,
    "c": 0.1376,
    "h": 272.5
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#1D2274
secondary
#A8A245
accent
#DA45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2274

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

Preview Lab → · Contrast checker → · Palette generator →

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