#1B538A#1B538A

#1B538A is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.108 H 251.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#1B538A
RGBrgb(27, 83, 138)
HSLhsl(210, 67%, 32%)
HSVhsv(210, 80%, 54%)
CMYKcmyk(80.4%, 39.9%, 0%, 45.9%)
CIE-LABlab(34.51, 2.62, -35.72)
CIE-LCHlch(34.51, 35.82, 274.19°)
OKLaboklab(43.55% -0.0342 -0.102)
OKLCHoklch(43.55% 0.108 251.5)
XYZxyz(8.1310, 8.2535, 25.2044)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B538A #8A521B
analogous
#1B8A8A #1B538A #1B1B8A
triadic
#1B538A #8A1B53 #538A1B
tetradic
#1B538A #8A1B8A #8A521B #1B8A1B
square
#1B538A #8A1B8A #8A521B #1B8A1B
split-complementary
#1B538A #8A1B1B #8A8A1B
monochromatic
#071524 #113457 #1B538A #2572BD #4590DB

Accessibility & contrast

On white

7.92
#1B538A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B538A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B538A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B538A#FFFFFF#000000##FFFFFF
##1B538A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#274D89
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b538a;
/* rgb */ color: rgb(27, 83, 138);
/* oklch */ color: oklch(43.6% 0.108 251.5);
Tailwind
colors: {
  custom: {
    50: '#6a82ac',
    500: '#1b538a',
    950: '#000000',
  },
}
SCSS
$custom: #1b538a;
$custom-light: #6a82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b538a",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 209.73,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.10754,
    "h": 251.5
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#1B538A
secondary
#BC8045
accent
#933EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B538A

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

Preview Lab → · Contrast checker → · Palette generator →

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