#1B4F6D#1B4F6D

#1B4F6D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.074 H 238.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1B4F6D
RGBrgb(27, 79, 109)
HSLhsl(202, 60%, 27%)
HSVhsv(202, 75%, 43%)
CMYKcmyk(75.2%, 27.5%, 0%, 57.3%)
CIE-LABlab(31.64, -6.19, -22.25)
CIE-LCHlch(31.64, 23.10, 254.45°)
OKLaboklab(40.78% -0.0392 -0.0627)
OKLCHoklch(40.78% 0.074 238)
XYZxyz(6.0072, 6.9284, 15.4858)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F6D #6D391B
analogous
#1B6D62 #1B4F6D #1B266D
triadic
#1B4F6D #6D1B4F #4F6D1B
tetradic
#1B4F6D #621B6D #6D391B #266D1B
square
#1B4F6D #621B6D #6D391B #266D1B
split-complementary
#1B4F6D #6D1B26 #6D621B
monochromatic
#061219 #0F2B3C #1B4F6D #27739E #3596CD

Accessibility & contrast

On white

8.80
#1B4F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B4F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F6D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F6D#FFFFFF#000000##FFFFFF
##1B4F6D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#36476C
Tritanopia (blue-blind)
#005759
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4f6d;
/* rgb */ color: rgb(27, 79, 109);
/* oklch */ color: oklch(40.8% 0.074 238.0);
Tailwind
colors: {
  custom: {
    50: '#638097',
    500: '#1b4f6d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f6d;
$custom-light: #638097;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f6d",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 109
  },
  "hsl": {
    "h": 201.951,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40781,
    "c": 0.07399,
    "h": 238
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#1B4F6D
secondary
#A26542
accent
#7F44E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1B4F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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