#1B5183#1B5183

#1B5183 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.100 H 250.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1B5183
RGBrgb(27, 81, 131)
HSLhsl(209, 66%, 31%)
HSVhsv(209, 79%, 51%)
CMYKcmyk(79.4%, 38.2%, 0%, 48.6%)
CIE-LABlab(33.47, 1.13, -33.07)
CIE-LCHlch(33.47, 33.09, 271.96°)
OKLaboklab(42.61% -0.0342 -0.0942)
OKLCHoklch(42.61% 0.1 250.1)
XYZxyz(7.4896, 7.7557, 22.5706)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5183 #834D1B
analogous
#1B8381 #1B5183 #1B1D83
triadic
#1B5183 #831B51 #51831B
tetradic
#1B5183 #811B83 #834D1B #1D831B
square
#1B5183 #811B83 #834D1B #1D831B
split-complementary
#1B5183 #831B1D #83811B
monochromatic
#06121E #113250 #1B5183 #2570B6 #418FD8

Accessibility & contrast

On white

8.23
#1B5183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B5183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5183
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5183#FFFFFF#000000##FFFFFF
##1B51831.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5183;
/* rgb */ color: rgb(27, 81, 131);
/* oklch */ color: oklch(42.6% 0.100 250.1);
Tailwind
colors: {
  custom: {
    50: '#6881a7',
    500: '#1b5183',
    950: '#000000',
  },
}
SCSS
$custom: #1b5183;
$custom-light: #6881a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5183",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 208.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.10024,
    "h": 250.1
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#1B5183
secondary
#B67B43
accent
#913FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5183

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

Preview Lab → · Contrast checker → · Palette generator →

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