#1B538F#1B538F

#1B538F is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.114 H 253.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#1B538F
RGBrgb(27, 83, 143)
HSLhsl(211, 68%, 33%)
HSVhsv(211, 81%, 56%)
CMYKcmyk(81.1%, 42%, 0%, 43.9%)
CIE-LABlab(34.81, 4.62, -38.29)
CIE-LCHlch(34.81, 38.57, 276.87°)
OKLaboklab(43.88% -0.0329 -0.1095)
OKLCHoklch(43.88% 0.114 253.3)
XYZxyz(8.5013, 8.4017, 27.1549)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B538F #8F571B
analogous
#1B8D8F #1B538F #1D1B8F
triadic
#1B538F #8F1B53 #538F1B
tetradic
#1B538F #8F1B8D #8F571B #1B8F1D
square
#1B538F #8F1B8D #8F571B #1B8F1D
split-complementary
#1B538F #8F1D1B #8D8F1B
monochromatic
#081728 #11355C #1B538F #2571C2 #4890DC

Accessibility & contrast

On white

7.83
#1B538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1B538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B538F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B538F#FFFFFF#000000##FFFFFF
##1B538F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b538f;
/* rgb */ color: rgb(27, 83, 143);
/* oklch */ color: oklch(43.9% 0.114 253.3);
Tailwind
colors: {
  custom: {
    50: '#6b82b0',
    500: '#1b538f',
    950: '#000000',
  },
}
SCSS
$custom: #1b538f;
$custom-light: #6b82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b538f",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 211.034,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43884,
    "c": 0.11435,
    "h": 253.3
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#1B538F
secondary
#BE8548
accent
#973DEB
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B538F

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

Preview Lab → · Contrast checker → · Palette generator →

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