#1C2F76#1C2F76

#1C2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.124 H 267.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#1C2F76
RGBrgb(28, 47, 118)
HSLhsl(227, 62%, 29%)
HSVhsv(227, 76%, 46%)
CMYKcmyk(76.3%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.26, 19.45, -42.94)
CIE-LCHlch(22.26, 47.14, 294.37°)
OKLaboklab(33.71% -0.0049 -0.1239)
OKLCHoklch(33.71% 0.124 267.7)
XYZxyz(4.7643, 3.5874, 17.5774)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F76 #76631C
analogous
#1C5C76 #1C2F76 #361C76
triadic
#1C2F76 #761C2F #2F761C
tetradic
#1C2F76 #761C5C #76631C #1C7636
square
#1C2F76 #761C5C #76631C #1C7636
split-complementary
#1C2F76 #76361C #5C761C
monochromatic
#060A19 #101B45 #1C2F76 #2843A7 #3C5BD1

Accessibility & contrast

On white

12.23
#1C2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F76
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F76#FFFFFF#000000##FFFFFF
##1C2F761.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2f76;
/* rgb */ color: rgb(28, 47, 118);
/* oklch */ color: oklch(33.7% 0.124 267.7);
Tailwind
colors: {
  custom: {
    50: '#66679e',
    500: '#1c2f76',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f76;
$custom-light: #66679e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f76",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 227.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.12396,
    "h": 267.7
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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