#1B4A7B#1B4A7B

#1B4A7B is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.097 H 252.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1B4A7B
RGBrgb(27, 74, 123)
HSLhsl(211, 64%, 29%)
HSVhsv(211, 78%, 48%)
CMYKcmyk(78%, 39.8%, 0%, 51.8%)
CIE-LABlab(30.78, 2.55, -32.38)
CIE-LCHlch(30.78, 32.48, 274.50°)
OKLaboklab(40.35% -0.0295 -0.0923)
OKLCHoklch(40.35% 0.097 252.3)
XYZxyz(6.4746, 6.5599, 19.6600)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A7B #7B4C1B
analogous
#1B7A7B #1B4A7B #1C1B7B
triadic
#1B4A7B #7B1B4A #4A7B1B
tetradic
#1B4A7B #7B1B7A #7B4C1B #1B7B1C
square
#1B4A7B #7B1B7A #7B4C1B #1B7B1C
split-complementary
#1B4A7B #7B1C1B #7A7B1B
monochromatic
#060F19 #102C49 #1B4A7B #2668AD #3C87D4

Accessibility & contrast

On white

9.08
#1B4A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4A7B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A7B#FFFFFF#000000##FFFFFF
##1B4A7B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4a7b;
/* rgb */ color: rgb(27, 74, 123);
/* oklch */ color: oklch(40.4% 0.097 252.3);
Tailwind
colors: {
  custom: {
    50: '#667ca1',
    500: '#1b4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a7b;
$custom-light: #667ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a7b",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 210.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.09694,
    "h": 252.3
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#1B4A7B
secondary
#AF7A43
accent
#9641E7
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1B4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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