#1B379F#1B379F

#1B379F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.171 H 266.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1B379F
RGBrgb(27, 55, 159)
HSLhsl(227, 71%, 36%)
HSVhsv(227, 83%, 62%)
CMYKcmyk(83%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.03, 30.02, -59.01)
CIE-LCHlch(28.03, 66.21, 296.97°)
OKLaboklab(39.12% -0.011 -0.1709)
OKLCHoklch(39.12% 0.171 266.3)
XYZxyz(8.0740, 5.4676, 33.4240)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B379F #9F831B
analogous
#1B799F #1B379F #411B9F
triadic
#1B379F #9F1B37 #379F1B
tetradic
#1B379F #9F1B79 #9F831B #1B9F41
square
#1B379F #9F1B79 #9F831B #1B9F41
split-complementary
#1B379F #9F411B #799F1B
monochromatic
#091336 #12256B #1B379F #2449D3 #5371E2

Accessibility & contrast

On white

10.03
#1B379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B379F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B379F#FFFFFF#000000##FFFFFF
##1B379F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b379f;
/* rgb */ color: rgb(27, 55, 159);
/* oklch */ color: oklch(39.1% 0.171 266.3);
Tailwind
colors: {
  custom: {
    50: '#706dbc',
    500: '#1b379f',
    950: '#000000',
  },
}
SCSS
$custom: #1b379f;
$custom-light: #706dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b379f",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 227.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.17122,
    "h": 266.3
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#1B379F
secondary
#C5AC51
accent
#C83AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B379F

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

Preview Lab → · Contrast checker → · Palette generator →

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