#1C2D7D#1C2D7D

#1C2D7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.137 H 268.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1C2D7D
RGBrgb(28, 45, 125)
HSLhsl(229, 63%, 30%)
HSVhsv(229, 78%, 49%)
CMYKcmyk(77.6%, 64%, 0%, 51%)
CIE-LABlab(22.32, 23.65, -47.29)
CIE-LCHlch(22.32, 52.88, 296.57°)
OKLaboklab(33.95% -0.0033 -0.1367)
OKLCHoklch(33.95% 0.137 268.6)
XYZxyz(5.1177, 3.6038, 19.8239)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7D #7D6C1C
analogous
#1C5D7D #1C2D7D #3C1C7D
triadic
#1C2D7D #7D1C2D #2D7D1C
tetradic
#1C2D7D #7D1C5D #7D6C1C #1C7D3C
square
#1C2D7D #7D1C5D #7D6C1C #1C7D3C
split-complementary
#1C2D7D #7D3C1C #5D7D1C
monochromatic
#060919 #111B4B #1C2D7D #273FAF #3F59D4

Accessibility & contrast

On white

12.20
#1C2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D7D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D7D#FFFFFF#000000##FFFFFF
##1C2D7D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2d7d;
/* rgb */ color: rgb(28, 45, 125);
/* oklch */ color: oklch(33.9% 0.137 268.6);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1c2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7d;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7d",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 229.485,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.33948,
    "c": 0.13671,
    "h": 268.6
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#1C2D7D
secondary
#B19E44
accent
#CA41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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