#1B4E6F#1B4E6F

#1B4E6F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.6% C 0.077 H 241.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1B4E6F
RGBrgb(27, 78, 111)
HSLhsl(204, 61%, 27%)
HSVhsv(204, 76%, 44%)
CMYKcmyk(75.7%, 29.7%, 0%, 56.5%)
CIE-LABlab(31.41, -4.79, -23.87)
CIE-LCHlch(31.41, 24.35, 258.65°)
OKLaboklab(40.63% -0.0374 -0.0674)
OKLCHoklch(40.63% 0.077 241)
XYZxyz(6.0445, 6.8288, 16.0354)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E6F #6F3C1B
analogous
#1B6F66 #1B4E6F #1B246F
triadic
#1B4E6F #6F1B4E #4E6F1B
tetradic
#1B4E6F #661B6F #6F3C1B #246F1B
square
#1B4E6F #661B6F #6F3C1B #246F1B
split-complementary
#1B4E6F #6F1B24 #6F661B
monochromatic
#061119 #0F2B3E #1B4E6F #2771A0 #3692CE

Accessibility & contrast

On white

8.88
#1B4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B4E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E6F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E6F#FFFFFF#000000##FFFFFF
##1B4E6F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#33466E
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4e6f;
/* rgb */ color: rgb(27, 78, 111);
/* oklch */ color: oklch(40.6% 0.077 241.0);
Tailwind
colors: {
  custom: {
    50: '#647f98',
    500: '#1b4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e6f;
$custom-light: #647f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e6f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 203.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.07711,
    "h": 241
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#1B4E6F
secondary
#A46842
accent
#8344E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1B4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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