#1B4965#1B4965

#1B4965 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.8% C 0.069 H 238.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1B4965
RGBrgb(27, 73, 101)
HSLhsl(203, 58%, 25%)
HSVhsv(203, 73%, 40%)
CMYKcmyk(73.3%, 27.7%, 0%, 60.4%)
CIE-LABlab(29.25, -5.46, -20.92)
CIE-LCHlch(29.25, 21.62, 255.38°)
OKLaboklab(38.75% -0.0355 -0.0589)
OKLCHoklch(38.75% 0.069 238.9)
XYZxyz(5.1826, 5.9371, 13.1822)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4965 #65371B
analogous
#1B655C #1B4965 #1B2465
triadic
#1B4965 #651B49 #49651B
tetradic
#1B4965 #5C1B65 #65371B #24651B
square
#1B4965 #5C1B65 #65371B #24651B
split-complementary
#1B4965 #651B24 #655C1B
monochromatic
#061118 #0E2635 #1B4965 #286C95 #358FC6

Accessibility & contrast

On white

9.60
#1B4965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1B4965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4965
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4965#FFFFFF#000000##FFFFFF
##1B49651.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4966
Deuteranopia (green-blind)
#324265
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4965;
/* rgb */ color: rgb(27, 73, 101);
/* oklch */ color: oklch(38.8% 0.069 238.9);
Tailwind
colors: {
  custom: {
    50: '#627b91',
    500: '#1b4965',
    950: '#000000',
  },
}
SCSS
$custom: #1b4965;
$custom-light: #627b91;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4965",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 101
  },
  "hsl": {
    "h": 202.703,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.06879,
    "h": 238.9
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#1B4965
secondary
#9A6341
accent
#8147E1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1B4965

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

Preview Lab → · Contrast checker → · Palette generator →

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