#1B3F72#1B3F72

#1B3F72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.097 H 257.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#1B3F72
RGBrgb(27, 63, 114)
HSLhsl(215, 62%, 28%)
HSVhsv(215, 76%, 45%)
CMYKcmyk(76.3%, 44.7%, 0%, 55.3%)
CIE-LABlab(26.74, 6.38, -33.16)
CIE-LCHlch(26.74, 33.77, 280.89°)
OKLaboklab(37.03% -0.0209 -0.0948)
OKLCHoklch(37.03% 0.097 257.6)
XYZxyz(5.2657, 5.0024, 16.6044)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F72 #724E1B
analogous
#1B6B72 #1B3F72 #221B72
triadic
#1B3F72 #721B3F #3F721B
tetradic
#1B3F72 #721B6B #724E1B #1B7222
square
#1B3F72 #721B6B #724E1B #1B7222
split-complementary
#1B3F72 #72221B #6B721B
monochromatic
#060E19 #0F2441 #1B3F72 #275AA3 #3877D0

Accessibility & contrast

On white

10.50
#1B3F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1B3F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F72
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F72#FFFFFF#000000##FFFFFF
##1B3F721.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3f72;
/* rgb */ color: rgb(27, 63, 114);
/* oklch */ color: oklch(37.0% 0.097 257.6);
Tailwind
colors: {
  custom: {
    50: '#64739b',
    500: '#1b3f72',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f72;
$custom-light: #64739b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f72",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 215.172,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.09709,
    "h": 257.6
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#1B3F72
secondary
#A77D42
accent
#A243E5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3F72

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

Preview Lab → · Contrast checker → · Palette generator →

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