#1B4592#1B4592

#1B4592 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.136 H 261.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1B4592
RGBrgb(27, 69, 146)
HSLhsl(219, 69%, 34%)
HSVhsv(219, 82%, 57%)
CMYKcmyk(81.5%, 52.7%, 0%, 42.7%)
CIE-LABlab(30.79, 15.28, -46.58)
CIE-LCHlch(30.79, 49.02, 288.16°)
OKLaboklab(40.85% -0.0207 -0.1342)
OKLCHoklch(40.85% 0.136 261.3)
XYZxyz(7.7665, 6.5637, 28.0461)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4592 #92681B
analogous
#1B8192 #1B4592 #2D1B92
triadic
#1B4592 #921B45 #45921B
tetradic
#1B4592 #921B81 #92681B #1B922D
square
#1B4592 #921B81 #92681B #1B922D
split-complementary
#1B4592 #922D1B #81921B
monochromatic
#08142B #112D5E #1B4592 #255DC6 #4A7EDE

Accessibility & contrast

On white

9.08
#1B4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1B4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4592
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4592#FFFFFF#000000##FFFFFF
##1B45921.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4592;
/* rgb */ color: rgb(27, 69, 146);
/* oklch */ color: oklch(40.9% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#6c78b3',
    500: '#1b4592',
    950: '#000000',
  },
}
SCSS
$custom: #1b4592;
$custom-light: #6c78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4592",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 218.824,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.13575,
    "h": 261.3
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#1B4592
secondary
#BF9649
accent
#AE3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4592

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

Preview Lab → · Contrast checker → · Palette generator →

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