#1B5271#1B5271

#1B5271 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.8% C 0.077 H 237.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1B5271
RGBrgb(27, 82, 113)
HSLhsl(202, 61%, 27%)
HSVhsv(202, 76%, 44%)
CMYKcmyk(76.1%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.83, -6.54, -22.91)
CIE-LCHlch(32.83, 23.83, 254.06°)
OKLaboklab(41.79% -0.041 -0.0646)
OKLCHoklch(41.79% 0.077 237.6)
XYZxyz(6.4488, 7.4591, 16.7195)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5271 #713A1B
analogous
#1B7165 #1B5271 #1B2771
triadic
#1B5271 #711B52 #52711B
tetradic
#1B5271 #651B71 #713A1B #27711B
square
#1B5271 #651B71 #713A1B #27711B
split-complementary
#1B5271 #711B27 #71651B
monochromatic
#061219 #0F2E40 #1B5271 #2776A2 #3798CF

Accessibility & contrast

On white

8.43
#1B5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5271
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5271#FFFFFF#000000##FFFFFF
##1B52711.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435272
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5271;
/* rgb */ color: rgb(27, 82, 113);
/* oklch */ color: oklch(41.8% 0.077 237.6);
Tailwind
colors: {
  custom: {
    50: '#64829a',
    500: '#1b5271',
    950: '#000000',
  },
}
SCSS
$custom: #1b5271;
$custom-light: #64829a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5271",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 201.628,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41788,
    "c": 0.07652,
    "h": 237.6
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#1B5271
secondary
#A66642
accent
#7D43E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5271

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

Preview Lab → · Contrast checker → · Palette generator →

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