#1B4271#1B4271

#1B4271 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.092 H 254.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1B4271
RGBrgb(27, 66, 113)
HSLhsl(213, 61%, 27%)
HSVhsv(213, 76%, 44%)
CMYKcmyk(76.1%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.63, 3.91, -31.11)
CIE-LCHlch(27.63, 31.35, 277.17°)
OKLaboklab(37.7% -0.0241 -0.0887)
OKLCHoklch(37.7% 0.092 254.8)
XYZxyz(5.3797, 5.3211, 16.3631)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4271 #714A1B
analogous
#1B6D71 #1B4271 #1F1B71
triadic
#1B4271 #711B42 #42711B
tetradic
#1B4271 #711B6D #714A1B #1B711F
square
#1B4271 #711B6D #714A1B #1B711F
split-complementary
#1B4271 #711F1B #6D711B
monochromatic
#060E19 #0F2540 #1B4271 #275FA2 #377CCF

Accessibility & contrast

On white

10.17
#1B4271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1B4271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4271
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4271#FFFFFF#000000##FFFFFF
##1B42711.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#1E3E70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4271;
/* rgb */ color: rgb(27, 66, 113);
/* oklch */ color: oklch(37.7% 0.092 254.8);
Tailwind
colors: {
  custom: {
    50: '#64769a',
    500: '#1b4271',
    950: '#000000',
  },
}
SCSS
$custom: #1b4271;
$custom-light: #64769a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4271",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 212.791,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.09196,
    "h": 254.8
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#1B4271
secondary
#A67942
accent
#9B43E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B4271

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

Preview Lab → · Contrast checker → · Palette generator →

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