#1B4A7E#1B4A7E

#1B4A7E is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.101 H 253.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1B4A7E
RGBrgb(27, 74, 126)
HSLhsl(212, 65%, 30%)
HSVhsv(212, 79%, 49%)
CMYKcmyk(78.6%, 41.3%, 0%, 50.6%)
CIE-LABlab(30.96, 3.76, -33.96)
CIE-LCHlch(30.96, 34.17, 276.31°)
OKLaboklab(40.55% -0.0287 -0.097)
OKLCHoklch(40.55% 0.101 253.5)
XYZxyz(6.6653, 6.6362, 20.6642)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A7E #7E4F1B
analogous
#1B7C7E #1B4A7E #1D1B7E
triadic
#1B4A7E #7E1B4A #4A7E1B
tetradic
#1B4A7E #7E1B7C #7E4F1B #1B7E1D
square
#1B4A7E #7E1B7C #7E4F1B #1B7E1D
split-complementary
#1B4A7E #7E1D1B #7C7E1B
monochromatic
#050F19 #102C4C #1B4A7E #2668B0 #3E86D6

Accessibility & contrast

On white

9.02
#1B4A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B4A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A7E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A7E#FFFFFF#000000##FFFFFF
##1B4A7E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4a7e;
/* rgb */ color: rgb(27, 74, 126);
/* oklch */ color: oklch(40.6% 0.101 253.5);
Tailwind
colors: {
  custom: {
    50: '#677ca4',
    500: '#1b4a7e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a7e;
$custom-light: #677ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a7e",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 211.515,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.10114,
    "h": 253.5
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#1B4A7E
secondary
#B27D43
accent
#9840E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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