#1B5195#1B5195

#1B5195 is a dark, vivid cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.125 H 256.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1B5195
RGBrgb(27, 81, 149)
HSLhsl(213, 69%, 35%)
HSVhsv(213, 82%, 58%)
CMYKcmyk(81.9%, 45.6%, 0%, 41.6%)
CIE-LABlab(34.57, 8.36, -42.31)
CIE-LCHlch(34.57, 43.13, 281.17°)
OKLaboklab(43.83% -0.0298 -0.1214)
OKLCHoklch(43.83% 0.125 256.2)
XYZxyz(8.8172, 8.2867, 29.5627)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5195 #955F1B
analogous
#1B8E95 #1B5195 #221B95
triadic
#1B5195 #951B51 #51951B
tetradic
#1B5195 #951B8E #955F1B #1B9522
square
#1B5195 #951B8E #955F1B #1B9522
split-complementary
#1B5195 #95221B #8E951B
monochromatic
#08192D #123561 #1B5195 #246DC9 #4C8DDF

Accessibility & contrast

On white

7.90
#1B5195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5195
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5195#FFFFFF#000000##FFFFFF
##1B51951.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5195;
/* rgb */ color: rgb(27, 81, 149);
/* oklch */ color: oklch(43.8% 0.125 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c81b4',
    500: '#1b5195',
    950: '#000000',
  },
}
SCSS
$custom: #1b5195;
$custom-light: #6c81b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5195",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 213.443,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.12498,
    "h": 256.2
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#1B5195
secondary
#C18D4B
accent
#9E3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5195

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

Preview Lab → · Contrast checker → · Palette generator →

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