#1B4E8E#1B4E8E

#1B4E8E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.119 H 256.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1B4E8E
RGBrgb(27, 78, 142)
HSLhsl(213, 68%, 33%)
HSVhsv(213, 81%, 56%)
CMYKcmyk(81%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.21, 7.54, -40.24)
CIE-LCHlch(33.21, 40.94, 280.61°)
OKLaboklab(42.62% -0.0287 -0.1153)
OKLCHoklch(42.62% 0.119 256)
XYZxyz(8.0571, 7.6338, 26.6348)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E8E #8E5B1B
analogous
#1B878E #1B4E8E #211B8E
triadic
#1B4E8E #8E1B4E #4E8E1B
tetradic
#1B4E8E #8E1B87 #8E5B1B #1B8E21
square
#1B4E8E #8E1B87 #8E5B1B #1B8E21
split-complementary
#1B4E8E #8E211B #878E1B
monochromatic
#071627 #11325B #1B4E8E #256AC1 #4789DC

Accessibility & contrast

On white

8.31
#1B4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B4E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E8E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E8E#FFFFFF#000000##FFFFFF
##1B4E8E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5490
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b4e8e;
/* rgb */ color: rgb(27, 78, 142);
/* oklch */ color: oklch(42.6% 0.119 256.0);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#1b4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e8e;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e8e",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 213.391,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.11885,
    "h": 256
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#1B4E8E
secondary
#BE8947
accent
#9E3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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