#1B39A1#1B39A1

#1B39A1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.171 H 266.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1B39A1
RGBrgb(27, 57, 161)
HSLhsl(227, 71%, 37%)
HSVhsv(227, 83%, 63%)
CMYKcmyk(83.2%, 64.6%, 0%, 36.9%)
CIE-LABlab(28.72, 29.46, -59.08)
CIE-LCHlch(28.72, 66.01, 296.50°)
OKLaboklab(39.69% -0.0121 -0.1711)
OKLCHoklch(39.69% 0.171 266)
XYZxyz(8.3459, 5.7315, 34.3777)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B39A1 #A1831B
analogous
#1B7CA1 #1B39A1 #401BA1
triadic
#1B39A1 #A11B39 #39A11B
tetradic
#1B39A1 #A11B7C #A1831B #1BA140
square
#1B39A1 #A11B7C #A1831B #1BA140
split-complementary
#1B39A1 #A1401B #7CA11B
monochromatic
#091438 #12266D #1B39A1 #244CD5 #5474E2

Accessibility & contrast

On white

9.78
#1B39A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B39A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B39A1
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B39A1#FFFFFF#000000##FFFFFF
##1B39A11.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b39a1;
/* rgb */ color: rgb(27, 57, 161);
/* oklch */ color: oklch(39.7% 0.171 266.0);
Tailwind
colors: {
  custom: {
    50: '#716fbe',
    500: '#1b39a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b39a1;
$custom-light: #716fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b39a1",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 161
  },
  "hsl": {
    "h": 226.567,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.17149,
    "h": 266
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#1B39A1
secondary
#C5AC52
accent
#C63AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B39A1

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

Preview Lab → · Contrast checker → · Palette generator →

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