#1B3E7E#1B3E7E

#1B3E7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.116 H 261.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1B3E7E
RGBrgb(27, 62, 126)
HSLhsl(219, 65%, 30%)
HSVhsv(219, 79%, 49%)
CMYKcmyk(78.6%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.25, 11.98, -39.91)
CIE-LCHlch(27.25, 41.67, 286.71°)
OKLaboklab(37.68% -0.0177 -0.1147)
OKLCHoklch(37.68% 0.116 261.2)
XYZxyz(5.9392, 5.1839, 20.4222)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E7E #7E5B1B
analogous
#1B6F7E #1B3E7E #2A1B7E
triadic
#1B3E7E #7E1B3E #3E7E1B
tetradic
#1B3E7E #7E1B6F #7E5B1B #1B7E2A
square
#1B3E7E #7E1B6F #7E5B1B #1B7E2A
split-complementary
#1B3E7E #7E2A1B #6F7E1B
monochromatic
#050C19 #10254C #1B3E7E #2657B0 #3E73D6

Accessibility & contrast

On white

10.31
#1B3E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E7E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E7E#FFFFFF#000000##FFFFFF
##1B3E7E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1b3e7e;
/* rgb */ color: rgb(27, 62, 126);
/* oklch */ color: oklch(37.7% 0.116 261.2);
Tailwind
colors: {
  custom: {
    50: '#6772a4',
    500: '#1b3e7e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e7e;
$custom-light: #6772a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e7e",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 218.788,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.11604,
    "h": 261.2
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#1B3E7E
secondary
#B28B43
accent
#AC40E8
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B3E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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