#1B4F95#1B4F95

#1B4F95 is a dark, vivid cyan. Relative luminance 0.080; OKLCH L 43.4% C 0.127 H 257.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1B4F95
RGBrgb(27, 79, 149)
HSLhsl(214, 69%, 35%)
HSVhsv(214, 82%, 58%)
CMYKcmyk(81.9%, 47%, 0%, 41.6%)
CIE-LABlab(33.97, 9.69, -43.28)
CIE-LCHlch(33.97, 44.35, 282.63°)
OKLaboklab(43.36% -0.0282 -0.1243)
OKLCHoklch(43.36% 0.127 257.2)
XYZxyz(8.6708, 7.9939, 29.5139)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F95 #95611B
analogous
#1B8C95 #1B4F95 #241B95
triadic
#1B4F95 #951B4F #4F951B
tetradic
#1B4F95 #951B8C #95611B #1B9524
square
#1B4F95 #951B8C #95611B #1B9524
split-complementary
#1B4F95 #95241B #8C951B
monochromatic
#08182D #123461 #1B4F95 #246AC9 #4C8ADF

Accessibility & contrast

On white

8.08
#1B4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1B4F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F95
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F95#FFFFFF#000000##FFFFFF
##1B4F951.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4f95;
/* rgb */ color: rgb(27, 79, 149);
/* oklch */ color: oklch(43.4% 0.127 257.2);
Tailwind
colors: {
  custom: {
    50: '#6c7fb5',
    500: '#1b4f95',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f95;
$custom-light: #6c7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f95",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 214.426,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.12741,
    "h": 257.2
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#1B4F95
secondary
#C18F4B
accent
#A13CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4F95

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

Preview Lab → · Contrast checker → · Palette generator →

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