#1B4A8B#1B4A8B

#1B4A8B is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.5% C 0.120 H 257.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1B4A8B
RGBrgb(27, 74, 139)
HSLhsl(215, 67%, 33%)
HSVhsv(215, 81%, 55%)
CMYKcmyk(80.6%, 46.8%, 0%, 45.5%)
CIE-LABlab(31.79, 9.02, -40.67)
CIE-LCHlch(31.79, 41.66, 282.50°)
OKLaboklab(41.46% -0.0258 -0.1167)
OKLCHoklch(41.46% 0.12 257.5)
XYZxyz(7.5593, 6.9938, 25.3726)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A8B #8B5C1B
analogous
#1B828B #1B4A8B #241B8B
triadic
#1B4A8B #8B1B4A #4A8B1B
tetradic
#1B4A8B #8B1B82 #8B5C1B #1B8B24
square
#1B4A8B #8B1B82 #8B5C1B #1B8B24
split-complementary
#1B4A8B #8B241B #828B1B
monochromatic
#071325 #112F58 #1B4A8B #2565BE #4584DB

Accessibility & contrast

On white

8.75
#1B4A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B4A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A8B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A8B#FFFFFF#000000##FFFFFF
##1B4A8B1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b4a8b;
/* rgb */ color: rgb(27, 74, 139);
/* oklch */ color: oklch(41.5% 0.120 257.5);
Tailwind
colors: {
  custom: {
    50: '#6a7cad',
    500: '#1b4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a8b;
$custom-light: #6a7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a8b",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 214.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.11952,
    "h": 257.5
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#1B4A8B
secondary
#BC8A45
accent
#A23DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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