#1B4783#1B4783

#1B4783 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.2% C 0.112 H 257.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#1B4783
RGBrgb(27, 71, 131)
HSLhsl(215, 66%, 31%)
HSVhsv(215, 79%, 51%)
CMYKcmyk(79.4%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.35, 7.81, -38.06)
CIE-LCHlch(30.35, 38.85, 281.60°)
OKLaboklab(40.17% -0.0248 -0.1091)
OKLCHoklch(40.17% 0.112 257.2)
XYZxyz(6.8005, 6.3774, 22.3409)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4783 #83571B
analogous
#1B7B83 #1B4783 #231B83
triadic
#1B4783 #831B47 #47831B
tetradic
#1B4783 #831B7B #83571B #1B8323
square
#1B4783 #831B7B #83571B #1B8323
split-complementary
#1B4783 #83231B #7B831B
monochromatic
#06101E #112B50 #1B4783 #2563B6 #4181D8

Accessibility & contrast

On white

9.23
#1B4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4783
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4783#FFFFFF#000000##FFFFFF
##1B47831.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D85
Deuteranopia (green-blind)
#134382
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4783;
/* rgb */ color: rgb(27, 71, 131);
/* oklch */ color: oklch(40.2% 0.112 257.2);
Tailwind
colors: {
  custom: {
    50: '#6879a7',
    500: '#1b4783',
    950: '#000000',
  },
}
SCSS
$custom: #1b4783;
$custom-light: #6879a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4783",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 214.615,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.11184,
    "h": 257.2
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#1B4783
secondary
#B68643
accent
#A13FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4783

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

Preview Lab → · Contrast checker → · Palette generator →

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