#1B4A7D#1B4A7D

#1B4A7D is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.100 H 253.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1B4A7D
RGBrgb(27, 74, 125)
HSLhsl(211, 64%, 30%)
HSVhsv(211, 78%, 49%)
CMYKcmyk(78.4%, 40.8%, 0%, 51%)
CIE-LABlab(30.90, 3.35, -33.44)
CIE-LCHlch(30.90, 33.60, 275.73°)
OKLaboklab(40.49% -0.029 -0.0954)
OKLCHoklch(40.49% 0.1 253.1)
XYZxyz(6.6011, 6.6105, 20.3261)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A7D #7D4E1B
analogous
#1B7B7D #1B4A7D #1D1B7D
triadic
#1B4A7D #7D1B4A #4A7D1B
tetradic
#1B4A7D #7D1B7B #7D4E1B #1B7D1D
square
#1B4A7D #7D1B7B #7D4E1B #1B7D1D
split-complementary
#1B4A7D #7D1D1B #7B7D1B
monochromatic
#050F19 #102C4B #1B4A7D #2668AF #3D86D5

Accessibility & contrast

On white

9.04
#1B4A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4A7D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A7D#FFFFFF#000000##FFFFFF
##1B4A7D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4a7d;
/* rgb */ color: rgb(27, 74, 125);
/* oklch */ color: oklch(40.5% 0.100 253.1);
Tailwind
colors: {
  custom: {
    50: '#677ca3',
    500: '#1b4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a7d;
$custom-light: #677ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a7d",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 211.224,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.09973,
    "h": 253.1
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#1B4A7D
secondary
#B17C43
accent
#9740E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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