#1B538C#1B538C

#1B538C is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.110 H 252.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1B538C
RGBrgb(27, 83, 140)
HSLhsl(210, 68%, 33%)
HSVhsv(210, 81%, 55%)
CMYKcmyk(80.7%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.62, 3.42, -36.76)
CIE-LCHlch(34.62, 36.91, 275.31°)
OKLaboklab(43.68% -0.0336 -0.105)
OKLCHoklch(43.68% 0.11 252.2)
XYZxyz(8.2771, 8.3120, 25.9740)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B538C #8C541B
analogous
#1B8C8C #1B538C #1B1B8C
triadic
#1B538C #8C1B53 #538C1B
tetradic
#1B538C #8C1B8C #8C541B #1B8C1B
square
#1B538C #8C1B8C #8C541B #1B8C1B
split-complementary
#1B538C #8C1B1B #8C8C1B
monochromatic
#071625 #113559 #1B538C #2571BF #4690DB

Accessibility & contrast

On white

7.89
#1B538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1B538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B538C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B538C#FFFFFF#000000##FFFFFF
##1B538C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b538c;
/* rgb */ color: rgb(27, 83, 140);
/* oklch */ color: oklch(43.7% 0.110 252.2);
Tailwind
colors: {
  custom: {
    50: '#6a82ae',
    500: '#1b538c',
    950: '#000000',
  },
}
SCSS
$custom: #1b538c;
$custom-light: #6a82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b538c",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 210.265,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.11025,
    "h": 252.2
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B538C

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

Preview Lab → · Contrast checker → · Palette generator →

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