#1B4572#1B4572

#1B4572 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.5% C 0.090 H 252.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1B4572
RGBrgb(27, 69, 114)
HSLhsl(211, 62%, 28%)
HSVhsv(211, 76%, 45%)
CMYKcmyk(76.3%, 39.5%, 0%, 55.3%)
CIE-LABlab(28.65, 2.28, -30.12)
CIE-LCHlch(28.65, 30.20, 274.33°)
OKLaboklab(38.51% -0.0269 -0.0858)
OKLCHoklch(38.51% 0.09 252.6)
XYZxyz(5.6162, 5.7035, 16.7212)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4572 #72481B
analogous
#1B7172 #1B4572 #1C1B72
triadic
#1B4572 #721B45 #45721B
tetradic
#1B4572 #721B71 #72481B #1B721C
square
#1B4572 #721B71 #72481B #1B721C
split-complementary
#1B4572 #721C1B #71721B
monochromatic
#060F19 #0F2741 #1B4572 #2763A3 #3881D0

Accessibility & contrast

On white

9.81
#1B4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4572
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4572#FFFFFF#000000##FFFFFF
##1B45721.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4572;
/* rgb */ color: rgb(27, 69, 114);
/* oklch */ color: oklch(38.5% 0.090 252.6);
Tailwind
colors: {
  custom: {
    50: '#64789b',
    500: '#1b4572',
    950: '#000000',
  },
}
SCSS
$custom: #1b4572;
$custom-light: #64789b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4572",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 211.034,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.08991,
    "h": 252.6
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#1B4572
secondary
#A77642
accent
#9743E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B4572

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

Preview Lab → · Contrast checker → · Palette generator →

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