#1C2D7C#1C2D7C

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

Color values

HEX#1C2D7C
RGBrgb(28, 45, 124)
HSLhsl(229, 63%, 30%)
HSVhsv(229, 77%, 49%)
CMYKcmyk(77.4%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.23, 23.26, -46.81)
CIE-LCHlch(22.23, 52.27, 296.42°)
OKLaboklab(33.85% -0.0033 -0.1352)
OKLCHoklch(33.85% 0.135 268.6)
XYZxyz(5.0541, 3.5783, 19.4892)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2D7C #7C6B1C
analogous
#1C5D7C #1C2D7C #3B1C7C
triadic
#1C2D7C #7C1C2D #2D7C1C
tetradic
#1C2D7C #7C1C5D #7C6B1C #1C7C3B
square
#1C2D7C #7C1C5D #7C6B1C #1C7C3B
split-complementary
#1C2D7C #7C3B1C #5D7C1C
monochromatic
#060919 #111B4A #1C2D7C #273FAE #3F59D4

Accessibility & contrast

On white

12.24
#1C2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2D7C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2D7C#FFFFFF#000000##FFFFFF
##1C2D7C1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2d7c;
/* rgb */ color: rgb(28, 45, 124);
/* oklch */ color: oklch(33.9% 0.135 268.6);
Tailwind
colors: {
  custom: {
    50: '#6865a3',
    500: '#1c2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2d7c;
$custom-light: #6865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2d7c",
  "rgb": {
    "r": 28,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 229.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33853,
    "c": 0.13528,
    "h": 268.6
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#1C2D7C
secondary
#B09D44
accent
#C942E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1C2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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