#1C334F#1C334F

#1C334F is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.058 H 254.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1C334F
RGBrgb(28, 51, 79)
HSLhsl(213, 48%, 21%)
HSVhsv(213, 65%, 31%)
CMYKcmyk(64.6%, 35.4%, 0%, 69%)
CIE-LABlab(20.75, 0.91, -19.87)
CIE-LCHlch(20.75, 19.90, 272.61°)
OKLaboklab(31.68% -0.0158 -0.0561)
OKLCHoklch(31.68% 0.058 254.2)
XYZxyz(3.0735, 3.1788, 7.8472)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C334F #4F381C
analogous
#1C4C4F #1C334F #1E1C4F
triadic
#1C334F #4F1C33 #334F1C
tetradic
#1C334F #4F1C4C #4F381C #1C4F1E
square
#1C334F #4F1C4C #4F381C #1C4F1E
split-complementary
#1C334F #4F1E1C #4C4F1C
monochromatic
#080F17 #0C1622 #1C334F #2C507C #3C6DA9

Accessibility & contrast

On white

12.84
#1C334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C334F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C334F#FFFFFF#000000##FFFFFF
##1C334F1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273550
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c334f;
/* rgb */ color: rgb(28, 51, 79);
/* oklch */ color: oklch(31.7% 0.058 254.2);
Tailwind
colors: {
  custom: {
    50: '#5d6a80',
    500: '#1c334f',
    950: '#000000',
  },
}
SCSS
$custom: #1c334f;
$custom-light: #5d6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c334f",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 212.941,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.0583,
    "h": 254.2
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#1C334F
secondary
#856742
accent
#9B51D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1C334F

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

Preview Lab → · Contrast checker → · Palette generator →

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