#1C2F71#1C2F71

#1C2F71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.117 H 267.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1C2F71
RGBrgb(28, 47, 113)
HSLhsl(227, 60%, 28%)
HSVhsv(227, 75%, 44%)
CMYKcmyk(75.2%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.84, 17.43, -40.41)
CIE-LCHlch(21.84, 44.01, 293.34°)
OKLaboklab(33.27% -0.0051 -0.1164)
OKLCHoklch(33.27% 0.117 267.5)
XYZxyz(4.4750, 3.4717, 16.0538)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F71 #715E1C
analogous
#1C5A71 #1C2F71 #331C71
triadic
#1C2F71 #711C2F #2F711C
tetradic
#1C2F71 #711C5A #715E1C #1C7133
square
#1C2F71 #711C5A #715E1C #1C7133
split-complementary
#1C2F71 #71331C #5A711C
monochromatic
#060A19 #101B40 #1C2F71 #2843A2 #395BCE

Accessibility & contrast

On white

12.39
#1C2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C2F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F71
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F71#FFFFFF#000000##FFFFFF
##1C2F711.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2f71;
/* rgb */ color: rgb(28, 47, 113);
/* oklch */ color: oklch(33.3% 0.117 267.5);
Tailwind
colors: {
  custom: {
    50: '#65679a',
    500: '#1c2f71',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f71;
$custom-light: #65679a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f71",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 226.588,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33272,
    "c": 0.11654,
    "h": 267.5
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#1C2F71
secondary
#A69043
accent
#C044E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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