#1B5295#1B5295

#1B5295 is a dark, vivid cyan. Relative luminance 0.084; OKLCH L 44.1% C 0.124 H 255.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#1B5295
RGBrgb(27, 82, 149)
HSLhsl(213, 69%, 35%)
HSVhsv(213, 82%, 58%)
CMYKcmyk(81.9%, 45%, 0%, 41.6%)
CIE-LABlab(34.88, 7.69, -41.83)
CIE-LCHlch(34.88, 42.53, 280.42°)
OKLaboklab(44.06% -0.0307 -0.1199)
OKLCHoklch(44.06% 0.124 255.6)
XYZxyz(8.8921, 8.4364, 29.5877)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5295 #955E1B
analogous
#1B8F95 #1B5295 #211B95
triadic
#1B5295 #951B52 #52951B
tetradic
#1B5295 #951B8F #955E1B #1B9521
square
#1B5295 #951B8F #955E1B #1B9521
split-complementary
#1B5295 #95211B #8F951B
monochromatic
#08192D #123561 #1B5295 #246FC9 #4C8EDF

Accessibility & contrast

On white

7.81
#1B5295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B5295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5295
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5295#FFFFFF#000000##FFFFFF
##1B52951.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5295;
/* rgb */ color: rgb(27, 82, 149);
/* oklch */ color: oklch(44.1% 0.124 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c82b4',
    500: '#1b5295',
    950: '#000000',
  },
}
SCSS
$custom: #1b5295;
$custom-light: #6c82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5295",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 212.951,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.12378,
    "h": 255.6
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#1B5295
secondary
#C18C4B
accent
#9D3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B5295

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

Preview Lab → · Contrast checker → · Palette generator →

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