#1B5274#1B5274

#1B5274 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.080 H 240.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1B5274
RGBrgb(27, 82, 116)
HSLhsl(203, 62%, 28%)
HSVhsv(203, 77%, 45%)
CMYKcmyk(76.7%, 29.3%, 0%, 54.5%)
CIE-LABlab(32.98, -5.39, -24.55)
CIE-LCHlch(32.98, 25.13, 257.61°)
OKLaboklab(41.96% -0.0399 -0.0693)
OKLCHoklch(41.96% 0.08 240.1)
XYZxyz(6.6204, 7.5278, 17.6237)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5274 #743D1B
analogous
#1B7469 #1B5274 #1B2674
triadic
#1B5274 #741B52 #52741B
tetradic
#1B5274 #691B74 #743D1B #26741B
square
#1B5274 #691B74 #743D1B #26741B
split-complementary
#1B5274 #741B26 #74691B
monochromatic
#061219 #0F2F42 #1B5274 #2775A6 #3997D1

Accessibility & contrast

On white

8.38
#1B5274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B5274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5274
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5274#FFFFFF#000000##FFFFFF
##1B52741.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#005B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5274;
/* rgb */ color: rgb(27, 82, 116);
/* oklch */ color: oklch(42.0% 0.080 240.1);
Tailwind
colors: {
  custom: {
    50: '#65829c',
    500: '#1b5274',
    950: '#000000',
  },
}
SCSS
$custom: #1b5274;
$custom-light: #65829c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5274",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 202.921,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.08003,
    "h": 240.1
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#1B5274
secondary
#A96942
accent
#8142E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5274

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

Preview Lab → · Contrast checker → · Palette generator →

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