#1B4A7A#1B4A7A

#1B4A7A is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.096 H 251.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#1B4A7A
RGBrgb(27, 74, 122)
HSLhsl(210, 64%, 29%)
HSVhsv(210, 78%, 48%)
CMYKcmyk(77.9%, 39.3%, 0%, 52.2%)
CIE-LABlab(30.72, 2.15, -31.85)
CIE-LCHlch(30.72, 31.92, 273.86°)
OKLaboklab(40.29% -0.0298 -0.0908)
OKLCHoklch(40.29% 0.096 251.8)
XYZxyz(6.4123, 6.5350, 19.3320)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A7A #7A4B1B
analogous
#1B7A7A #1B4A7A #1C1B7A
triadic
#1B4A7A #7A1B4A #4A7A1B
tetradic
#1B4A7A #7A1B7A #7A4B1B #1B7A1C
square
#1B4A7A #7A1B7A #7A4B1B #1B7A1C
split-complementary
#1B4A7A #7A1C1B #7A7A1B
monochromatic
#060F19 #102C48 #1B4A7A #2668AC #3C87D4

Accessibility & contrast

On white

9.10
#1B4A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1B4A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A7A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A7A#FFFFFF#000000##FFFFFF
##1B4A7A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4a7a;
/* rgb */ color: rgb(27, 74, 122);
/* oklch */ color: oklch(40.3% 0.096 251.8);
Tailwind
colors: {
  custom: {
    50: '#667ca1',
    500: '#1b4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a7a;
$custom-light: #667ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a7a",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 210.316,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.09554,
    "h": 251.8
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#1B4A7A
secondary
#AE7943
accent
#9541E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #1B4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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