#1B538E#1B538E

#1B538E is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.113 H 252.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#1B538E
RGBrgb(27, 83, 142)
HSLhsl(211, 68%, 33%)
HSVhsv(211, 81%, 56%)
CMYKcmyk(81%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.74, 4.22, -37.78)
CIE-LCHlch(34.74, 38.02, 276.37°)
OKLaboklab(43.82% -0.0331 -0.108)
OKLCHoklch(43.82% 0.113 252.9)
XYZxyz(8.4259, 8.3715, 26.7577)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B538E #8E561B
analogous
#1B8C8E #1B538E #1D1B8E
triadic
#1B538E #8E1B53 #538E1B
tetradic
#1B538E #8E1B8C #8E561B #1B8E1D
square
#1B538E #8E1B8C #8E561B #1B8E1D
split-complementary
#1B538E #8E1D1B #8C8E1B
monochromatic
#071727 #11355B #1B538E #2571C1 #4790DC

Accessibility & contrast

On white

7.85
#1B538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B538E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B538E#FFFFFF#000000##FFFFFF
##1B538E1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b538e;
/* rgb */ color: rgb(27, 83, 142);
/* oklch */ color: oklch(43.8% 0.113 252.9);
Tailwind
colors: {
  custom: {
    50: '#6a82af',
    500: '#1b538e',
    950: '#000000',
  },
}
SCSS
$custom: #1b538e;
$custom-light: #6a82af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b538e",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 210.783,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43816,
    "c": 0.11298,
    "h": 252.9
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#1B538E
secondary
#BE8447
accent
#963DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1B538E

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

Preview Lab → · Contrast checker → · Palette generator →

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