#1B538D#1B538D

#1B538D is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.112 H 252.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1B538D
RGBrgb(27, 83, 141)
HSLhsl(211, 68%, 33%)
HSVhsv(211, 81%, 55%)
CMYKcmyk(80.9%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.68, 3.82, -37.27)
CIE-LCHlch(34.68, 37.46, 275.85°)
OKLaboklab(43.75% -0.0334 -0.1065)
OKLCHoklch(43.75% 0.112 252.6)
XYZxyz(8.3512, 8.3416, 26.3641)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B538D #8D551B
analogous
#1B8C8D #1B538D #1C1B8D
triadic
#1B538D #8D1B53 #538D1B
tetradic
#1B538D #8D1B8C #8D551B #1B8D1C
square
#1B538D #8D1B8C #8D551B #1B8D1C
split-complementary
#1B538D #8D1C1B #8C8D1B
monochromatic
#071726 #11355A #1B538D #2571C0 #4790DC

Accessibility & contrast

On white

7.87
#1B538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1B538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B538D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B538D#FFFFFF#000000##FFFFFF
##1B538D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b538d;
/* rgb */ color: rgb(27, 83, 141);
/* oklch */ color: oklch(43.8% 0.112 252.6);
Tailwind
colors: {
  custom: {
    50: '#6a82af',
    500: '#1b538d',
    950: '#000000',
  },
}
SCSS
$custom: #1b538d;
$custom-light: #6a82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b538d",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 210.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.11161,
    "h": 252.6
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#1B538D
secondary
#BD8346
accent
#953DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B538D

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

Preview Lab → · Contrast checker → · Palette generator →

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