#1B509F#1B509F

#1B509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.140 H 258.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1B509F
RGBrgb(27, 80, 159)
HSLhsl(216, 71%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(83%, 49.7%, 0%, 37.6%)
CIE-LABlab(34.95, 13.06, -47.74)
CIE-LCHlch(34.95, 49.50, 285.30°)
OKLaboklab(44.33% -0.0272 -0.1374)
OKLCHoklch(44.33% 0.14 258.8)
XYZxyz(9.5764, 8.4724, 33.9248)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B509F #9F6A1B
analogous
#1B929F #1B509F #281B9F
triadic
#1B509F #9F1B50 #509F1B
tetradic
#1B509F #9F1B92 #9F6A1B #1B9F28
square
#1B509F #9F1B92 #9F6A1B #1B9F28
split-complementary
#1B509F #9F281B #929F1B
monochromatic
#091B36 #12366B #1B509F #246AD3 #538CE2

Accessibility & contrast

On white

7.79
#1B509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B509F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B509F#FFFFFF#000000##FFFFFF
##1B509F1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b509f;
/* rgb */ color: rgb(27, 80, 159);
/* oklch */ color: oklch(44.3% 0.140 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f80bc',
    500: '#1b509f',
    950: '#000000',
  },
}
SCSS
$custom: #1b509f;
$custom-light: #6f80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b509f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 215.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.14005,
    "h": 258.8
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#1B509F
secondary
#C59651
accent
#A63AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B509F

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

Preview Lab → · Contrast checker → · Palette generator →

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