#1C2F77#1C2F77

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

Color values

HEX#1C2F77
RGBrgb(28, 47, 119)
HSLhsl(227, 62%, 29%)
HSVhsv(227, 76%, 47%)
CMYKcmyk(76.5%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.34, 19.85, -43.44)
CIE-LCHlch(22.34, 47.76, 294.56°)
OKLaboklab(33.8% -0.0049 -0.1253)
OKLCHoklch(33.8% 0.125 267.8)
XYZxyz(4.8240, 3.6113, 17.8920)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F77 #77641C
analogous
#1C5D77 #1C2F77 #371C77
triadic
#1C2F77 #771C2F #2F771C
tetradic
#1C2F77 #771C5D #77641C #1C7737
square
#1C2F77 #771C5D #77641C #1C7737
split-complementary
#1C2F77 #77371C #5D771C
monochromatic
#060A19 #101B45 #1C2F77 #2843A9 #3C5BD1

Accessibility & contrast

On white

12.19
#1C2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F77
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F77#FFFFFF#000000##FFFFFF
##1C2F771.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2f77;
/* rgb */ color: rgb(28, 47, 119);
/* oklch */ color: oklch(33.8% 0.125 267.8);
Tailwind
colors: {
  custom: {
    50: '#67679f',
    500: '#1c2f77',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f77;
$custom-light: #67679f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f77",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 227.473,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.12541,
    "h": 267.8
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#1C2F77
secondary
#AB9644
accent
#C343E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1C2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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