#1B4A8A#1B4A8A

#1B4A8A is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.118 H 257.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1B4A8A
RGBrgb(27, 74, 138)
HSLhsl(215, 67%, 32%)
HSVhsv(215, 80%, 54%)
CMYKcmyk(80.4%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.73, 8.61, -40.16)
CIE-LCHlch(31.73, 41.08, 282.10°)
OKLaboklab(41.39% -0.026 -0.1152)
OKLCHoklch(41.39% 0.118 257.3)
XYZxyz(7.4865, 6.9647, 24.9896)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A8A #8A5B1B
analogous
#1B818A #1B4A8A #241B8A
triadic
#1B4A8A #8A1B4A #4A8A1B
tetradic
#1B4A8A #8A1B81 #8A5B1B #1B8A24
square
#1B4A8A #8A1B81 #8A5B1B #1B8A24
split-complementary
#1B4A8A #8A241B #818A1B
monochromatic
#071324 #112F57 #1B4A8A #2565BD #4584DB

Accessibility & contrast

On white

8.77
#1B4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A8A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A8A#FFFFFF#000000##FFFFFF
##1B4A8A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508C
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4a8a;
/* rgb */ color: rgb(27, 74, 138);
/* oklch */ color: oklch(41.4% 0.118 257.3);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1b4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a8a;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a8a",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 214.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.1181,
    "h": 257.3
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#1B4A8A
secondary
#BC8A45
accent
#A13EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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