#1B489C#1B489C

#1B489C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.146 H 261.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1B489C
RGBrgb(27, 72, 156)
HSLhsl(219, 70%, 36%)
HSVhsv(219, 83%, 61%)
CMYKcmyk(82.7%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.41, 17.27, -50.04)
CIE-LCHlch(32.41, 52.94, 289.04°)
OKLaboklab(42.32% -0.0217 -0.1443)
OKLCHoklch(42.32% 0.146 261.4)
XYZxyz(8.7679, 7.2670, 32.3866)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B489C #9C6F1B
analogous
#1B889C #1B489C #2E1B9C
triadic
#1B489C #9C1B48 #489C1B
tetradic
#1B489C #9C1B88 #9C6F1B #1B9C2E
square
#1B489C #9C1B88 #9C6F1B #1B9C2E
split-complementary
#1B489C #9C2E1B #889C1B
monochromatic
#091834 #123068 #1B489C #2460D0 #5183E1

Accessibility & contrast

On white

8.56
#1B489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B489C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B489C#FFFFFF#000000##FFFFFF
##1B489C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b489c;
/* rgb */ color: rgb(27, 72, 156);
/* oklch */ color: oklch(42.3% 0.146 261.4);
Tailwind
colors: {
  custom: {
    50: '#6e7aba',
    500: '#1b489c',
    950: '#000000',
  },
}
SCSS
$custom: #1b489c;
$custom-light: #6e7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b489c",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 219.07,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.14593,
    "h": 261.4
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#1B489C
secondary
#C39B4F
accent
#AF3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1B489C

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

Preview Lab → · Contrast checker → · Palette generator →

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