#1B3E75#1B3E75

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

Color values

HEX#1B3E75
RGBrgb(27, 62, 117)
HSLhsl(217, 63%, 28%)
HSVhsv(217, 77%, 46%)
CMYKcmyk(76.9%, 47%, 0%, 54.1%)
CIE-LABlab(26.63, 8.30, -35.25)
CIE-LCHlch(26.63, 36.21, 283.24°)
OKLaboklab(37% -0.0193 -0.101)
OKLCHoklch(37% 0.103 259.2)
XYZxyz(5.3843, 4.9620, 17.5002)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E75 #75521B
analogous
#1B6B75 #1B3E75 #251B75
triadic
#1B3E75 #751B3E #3E751B
tetradic
#1B3E75 #751B6B #75521B #1B7525
square
#1B3E75 #751B6B #75521B #1B7525
split-complementary
#1B3E75 #75251B #6B751B
monochromatic
#060D19 #102443 #1B3E75 #2658A7 #3974D1

Accessibility & contrast

On white

10.54
#1B3E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B3E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E75
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E75#FFFFFF#000000##FFFFFF
##1B3E751.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224377
Deuteranopia (green-blind)
#0F3B74
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3e75;
/* rgb */ color: rgb(27, 62, 117);
/* oklch */ color: oklch(37.0% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#65729d',
    500: '#1b3e75',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e75;
$custom-light: #65729d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e75",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 117
  },
  "hsl": {
    "h": 216.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37,
    "c": 0.10279,
    "h": 259.2
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#1B3E75
secondary
#A98142
accent
#A642E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B3E75

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

Preview Lab → · Contrast checker → · Palette generator →

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