#1C2F4D#1C2F4D

#1C2F4D is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.060 H 259.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1C2F4D
RGBrgb(28, 47, 77)
HSLhsl(217, 47%, 21%)
HSVhsv(217, 64%, 30%)
CMYKcmyk(63.6%, 39%, 0%, 69.8%)
CIE-LABlab(19.29, 2.94, -20.83)
CIE-LCHlch(19.29, 21.03, 278.05°)
OKLaboklab(30.5% -0.0112 -0.0589)
OKLCHoklch(30.5% 0.06 259.2)
XYZxyz(2.8345, 2.8155, 7.4138)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F4D #4D3A1C
analogous
#1C474D #1C2F4D #211C4D
triadic
#1C2F4D #4D1C2F #2F4D1C
tetradic
#1C2F4D #4D1C47 #4D3A1C #1C4D21
square
#1C2F4D #4D1C47 #4D3A1C #1C4D21
split-complementary
#1C2F4D #4D211C #474D1C
monochromatic
#080E16 #0C1420 #1C2F4D #2C4A7A #3D66A7

Accessibility & contrast

On white

13.43
#1C2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F4D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F4D#FFFFFF#000000##FFFFFF
##1C2F4D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c2f4d;
/* rgb */ color: rgb(28, 47, 77);
/* oklch */ color: oklch(30.5% 0.060 259.2);
Tailwind
colors: {
  custom: {
    50: '#5d677f',
    500: '#1c2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f4d;
$custom-light: #5d677f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f4d",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 216.735,
    "s": 46.667,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30502,
    "c": 0.05997,
    "h": 259.2
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#1C2F4D
secondary
#836A42
accent
#A351D6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1C2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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