#1B4A7C#1B4A7C

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

Color values

HEX#1B4A7C
RGBrgb(27, 74, 124)
HSLhsl(211, 64%, 30%)
HSVhsv(211, 78%, 49%)
CMYKcmyk(78.2%, 40.3%, 0%, 51.4%)
CIE-LABlab(30.84, 2.95, -32.91)
CIE-LCHlch(30.84, 33.04, 275.13°)
OKLaboklab(40.42% -0.0293 -0.0939)
OKLCHoklch(40.42% 0.098 252.7)
XYZxyz(6.5375, 6.5851, 19.9914)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A7C #7C4D1B
analogous
#1B7B7C #1B4A7C #1D1B7C
triadic
#1B4A7C #7C1B4A #4A7C1B
tetradic
#1B4A7C #7C1B7B #7C4D1B #1B7C1D
square
#1B4A7C #7C1B7B #7C4D1B #1B7C1D
split-complementary
#1B4A7C #7C1D1B #7B7C1B
monochromatic
#050F19 #102C4A #1B4A7C #2668AE #3D86D5

Accessibility & contrast

On white

9.06
#1B4A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1B4A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A7C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A7C#FFFFFF#000000##FFFFFF
##1B4A7C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#23457B
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4a7c;
/* rgb */ color: rgb(27, 74, 124);
/* oklch */ color: oklch(40.4% 0.098 252.7);
Tailwind
colors: {
  custom: {
    50: '#667ca2',
    500: '#1b4a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a7c;
$custom-light: #667ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a7c",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 210.928,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.09833,
    "h": 252.7
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#1B4A7C
secondary
#B07B43
accent
#9641E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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