#1C2E79#1C2E79

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

Color values

HEX#1C2E79
RGBrgb(28, 46, 121)
HSLhsl(228, 62%, 29%)
HSVhsv(228, 77%, 47%)
CMYKcmyk(76.9%, 62%, 0%, 52.5%)
CIE-LABlab(22.23, 21.36, -44.89)
CIE-LCHlch(22.23, 49.71, 295.45°)
OKLaboklab(33.78% -0.004 -0.1296)
OKLCHoklch(33.78% 0.13 268.2)
XYZxyz(4.9059, 3.5808, 18.5181)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2E79 #79671C
analogous
#1C5D79 #1C2E79 #391C79
triadic
#1C2E79 #791C2E #2E791C
tetradic
#1C2E79 #791C5D #79671C #1C7939
square
#1C2E79 #791C5D #79671C #1C7939
split-complementary
#1C2E79 #79391C #5D791C
monochromatic
#060919 #101B47 #1C2E79 #2841AB #3D5AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C2E79#FFFFFF#000000##FFFFFF
##1C2E791.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)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2e79;
/* rgb */ color: rgb(28, 46, 121);
/* oklch */ color: oklch(33.8% 0.130 268.2);
Tailwind
colors: {
  custom: {
    50: '#6766a0',
    500: '#1c2e79',
    950: '#000000',
  },
}
SCSS
$custom: #1c2e79;
$custom-light: #6766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2e79",
  "rgb": {
    "r": 28,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 228.387,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33777,
    "c": 0.12966,
    "h": 268.2
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#1C2E79
secondary
#AD9944
accent
#C642E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1C2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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