#1B4E5F#1B4E5F

#1B4E5F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.8% C 0.060 H 223.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1B4E5F
RGBrgb(27, 78, 95)
HSLhsl(195, 56%, 24%)
HSVhsv(195, 72%, 37%)
CMYKcmyk(71.6%, 17.9%, 0%, 62.7%)
CIE-LABlab(30.66, -10.80, -14.92)
CIE-LCHlch(30.66, 18.42, 234.10°)
OKLaboklab(39.78% -0.0437 -0.0417)
OKLCHoklch(39.78% 0.06 223.6)
XYZxyz(5.2411, 6.5074, 11.8041)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E5F #5F2C1B
analogous
#1B5F4E #1B4E5F #1B2C5F
triadic
#1B4E5F #5F1B4E #4E5F1B
tetradic
#1B4E5F #4E1B5F #5F2C1B #2C5F1B
square
#1B4E5F #4E1B5F #5F2C1B #2C5F1B
split-complementary
#1B4E5F #5F1B2C #5F4E1B
monochromatic
#071418 #0D272F #1B4E5F #29758F #369CBE

Accessibility & contrast

On white

9.12
#1B4E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B4E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E5F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E5F#FFFFFF#000000##FFFFFF
##1B4E5F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#3B455F
Tritanopia (blue-blind)
#005353
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4e5f;
/* rgb */ color: rgb(27, 78, 95);
/* oklch */ color: oklch(39.8% 0.060 223.6);
Tailwind
colors: {
  custom: {
    50: '#617f8c',
    500: '#1b4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e5f;
$custom-light: #617f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e5f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 195,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.0604,
    "h": 223.6
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#1B4E5F
secondary
#955641
accent
#6E49DF
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#050A0C
muted
#7A7C7D

Preview Lab

Preview with #1B4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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