#1C2D7B#1C2D7B

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

Color values

HEX#1C2D7B
RGBrgb(28, 45, 123)
HSLhsl(229, 63%, 30%)
HSVhsv(229, 77%, 48%)
CMYKcmyk(77.2%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.14, 22.86, -46.32)
CIE-LCHlch(22.14, 51.65, 296.27°)
OKLaboklab(33.76% -0.0033 -0.1338)
OKLCHoklch(33.76% 0.134 268.6)
XYZxyz(4.9912, 3.5532, 19.1578)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7B #7B6A1C
analogous
#1C5D7B #1C2D7B #3B1C7B
triadic
#1C2D7B #7B1C2D #2D7B1C
tetradic
#1C2D7B #7B1C5D #7B6A1C #1C7B3B
square
#1C2D7B #7B1C5D #7B6A1C #1C7B3B
split-complementary
#1C2D7B #7B3B1C #5D7B1C
monochromatic
#060919 #111B49 #1C2D7B #273FAD #3E59D3

Accessibility & contrast

On white

12.27
#1C2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2D7B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D7B#FFFFFF#000000##FFFFFF
##1C2D7B1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2d7b;
/* rgb */ color: rgb(28, 45, 123);
/* oklch */ color: oklch(33.8% 0.134 268.6);
Tailwind
colors: {
  custom: {
    50: '#6865a2',
    500: '#1c2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7b;
$custom-light: #6865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7b",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 229.263,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.13385,
    "h": 268.6
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#1C2D7B
secondary
#AF9C44
accent
#C942E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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