#1B479E#1B479E

#1B479E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.150 H 262.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1B479E
RGBrgb(27, 71, 158)
HSLhsl(220, 71%, 36%)
HSVhsv(220, 83%, 62%)
CMYKcmyk(82.9%, 55.1%, 0%, 38%)
CIE-LABlab(32.27, 18.76, -51.47)
CIE-LCHlch(32.27, 54.78, 290.02°)
OKLaboklab(42.27% -0.0208 -0.1485)
OKLCHoklch(42.27% 0.15 262)
XYZxyz(8.8746, 7.2070, 33.2645)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B479E #9E721B
analogous
#1B899E #1B479E #301B9E
triadic
#1B479E #9E1B47 #479E1B
tetradic
#1B479E #9E1B89 #9E721B #1B9E30
square
#1B479E #9E1B89 #9E721B #1B9E30
split-complementary
#1B479E #9E301B #899E1B
monochromatic
#091835 #12306A #1B479E #245ED2 #5282E1

Accessibility & contrast

On white

8.60
#1B479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B479E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B479E#FFFFFF#000000##FFFFFF
##1B479E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b479e;
/* rgb */ color: rgb(27, 71, 158);
/* oklch */ color: oklch(42.3% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#6f79bb',
    500: '#1b479e',
    950: '#000000',
  },
}
SCSS
$custom: #1b479e;
$custom-light: #6f79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b479e",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 219.847,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.14997,
    "h": 262
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#1B479E
secondary
#C49D51
accent
#B13AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B479E

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

Preview Lab → · Contrast checker → · Palette generator →

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