#1B4E6C#1B4E6C

#1B4E6C is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.074 H 238.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#1B4E6C
RGBrgb(27, 78, 108)
HSLhsl(202, 60%, 26%)
HSVhsv(202, 75%, 42%)
CMYKcmyk(75%, 27.8%, 0%, 57.6%)
CIE-LABlab(31.26, -5.95, -22.22)
CIE-LCHlch(31.26, 23.00, 255.02°)
OKLaboklab(40.46% -0.0385 -0.0626)
OKLCHoklch(40.46% 0.074 238.4)
XYZxyz(5.8821, 6.7638, 15.1800)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E6C #6C391B
analogous
#1B6C62 #1B4E6C #1B266C
triadic
#1B4E6C #6C1B4E #4E6C1B
tetradic
#1B4E6C #621B6C #6C391B #266C1B
square
#1B4E6C #621B6C #6C391B #266C1B
split-complementary
#1B4E6C #6C1B26 #6C621B
monochromatic
#061218 #0F2B3B #1B4E6C #27719D #3594CC

Accessibility & contrast

On white

8.93
#1B4E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B4E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E6C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E6C#FFFFFF#000000##FFFFFF
##1B4E6C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#35466B
Tritanopia (blue-blind)
#005658
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4e6c;
/* rgb */ color: rgb(27, 78, 108);
/* oklch */ color: oklch(40.5% 0.074 238.4);
Tailwind
colors: {
  custom: {
    50: '#637f96',
    500: '#1b4e6c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e6c;
$custom-light: #637f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e6c",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 108
  },
  "hsl": {
    "h": 202.222,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.07352,
    "h": 238.4
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#1B4E6C
secondary
#A16542
accent
#7F45E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1B4E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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