#1B479F#1B479F

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

Color values

HEX#1B479F
RGBrgb(27, 71, 159)
HSLhsl(220, 71%, 36%)
HSVhsv(220, 83%, 62%)
CMYKcmyk(83%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.35, 19.16, -51.95)
CIE-LCHlch(32.35, 55.37, 290.24°)
OKLaboklab(42.35% -0.0207 -0.1499)
OKLCHoklch(42.35% 0.151 262.1)
XYZxyz(8.9610, 7.2416, 33.7196)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B479F #9F731B
analogous
#1B899F #1B479F #311B9F
triadic
#1B479F #9F1B47 #479F1B
tetradic
#1B479F #9F1B89 #9F731B #1B9F31
square
#1B479F #9F1B89 #9F731B #1B9F31
split-complementary
#1B479F #9F311B #899F1B
monochromatic
#091836 #12306B #1B479F #245ED3 #5382E2

Accessibility & contrast

On white

8.58
#1B479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B479F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B479F#FFFFFF#000000##FFFFFF
##1B479F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b479f;
/* rgb */ color: rgb(27, 71, 159);
/* oklch */ color: oklch(42.3% 0.151 262.1);
Tailwind
colors: {
  custom: {
    50: '#6f79bc',
    500: '#1b479f',
    950: '#000000',
  },
}
SCSS
$custom: #1b479f;
$custom-light: #6f79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b479f",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 220,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.15135,
    "h": 262.1
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#1B479F
secondary
#C59E51
accent
#B23AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B479F

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

Preview Lab → · Contrast checker → · Palette generator →

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