#1C4E8B#1C4E8B

#1C4E8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.114 H 255.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1C4E8B
RGBrgb(28, 78, 139)
HSLhsl(213, 66%, 33%)
HSVhsv(213, 80%, 55%)
CMYKcmyk(79.9%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.05, 6.44, -38.66)
CIE-LCHlch(33.05, 39.19, 279.46°)
OKLaboklab(42.44% -0.0288 -0.1107)
OKLCHoklch(42.44% 0.114 255.4)
XYZxyz(7.8617, 7.5588, 25.4657)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4E8B #8B591C
analogous
#1C858B #1C4E8B #211C8B
triadic
#1C4E8B #8B1C4E #4E8B1C
tetradic
#1C4E8B #8B1C85 #8B591C #1C8B21
square
#1C4E8B #8B1C85 #8B591C #1C8B21
split-complementary
#1C4E8B #8B211C #858B1C
monochromatic
#071525 #123158 #1C4E8B #266BBE #4789DA

Accessibility & contrast

On white

8.36
#1C4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1C4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4E8B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4E8B#FFFFFF#000000##FFFFFF
##1C4E8B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1c4e8b;
/* rgb */ color: rgb(28, 78, 139);
/* oklch */ color: oklch(42.4% 0.114 255.4);
Tailwind
colors: {
  custom: {
    50: '#6a7fad',
    500: '#1c4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c4e8b;
$custom-light: #6a7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4e8b",
  "rgb": {
    "r": 28,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 212.973,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.11436,
    "h": 255.4
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#1C4E8B
secondary
#BC8747
accent
#9C3EE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1C4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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