#1C2F4E#1C2F4E

#1C2F4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.062 H 259.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#1C2F4E
RGBrgb(28, 47, 78)
HSLhsl(217, 47%, 21%)
HSVhsv(217, 64%, 31%)
CMYKcmyk(64.1%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.35, 3.34, -21.41)
CIE-LCHlch(19.35, 21.66, 278.86°)
OKLaboklab(30.57% -0.0109 -0.0606)
OKLCHoklch(30.57% 0.062 259.8)
XYZxyz(2.8701, 2.8297, 7.6012)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F4E #4E3B1C
analogous
#1C484E #1C2F4E #221C4E
triadic
#1C2F4E #4E1C2F #2F4E1C
tetradic
#1C2F4E #4E1C48 #4E3B1C #1C4E22
square
#1C2F4E #4E1C48 #4E3B1C #1C4E22
split-complementary
#1C2F4E #4E221C #484E1C
monochromatic
#080E17 #0C1421 #1C2F4E #2C4A7B #3C65A8

Accessibility & contrast

On white

13.41
#1C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1C2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F4E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F4E#FFFFFF#000000##FFFFFF
##1C2F4E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c2f4e;
/* rgb */ color: rgb(28, 47, 78);
/* oklch */ color: oklch(30.6% 0.062 259.8);
Tailwind
colors: {
  custom: {
    50: '#5d6780',
    500: '#1c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f4e;
$custom-light: #5d6780;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f4e",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 217.2,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30567,
    "c": 0.06158,
    "h": 259.8
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#1C2F4E
secondary
#846B42
accent
#A451D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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