#1B3D7B#1B3D7B

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

Color values

HEX#1B3D7B
RGBrgb(27, 61, 123)
HSLhsl(219, 64%, 29%)
HSVhsv(219, 78%, 48%)
CMYKcmyk(78%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.73, 11.45, -38.86)
CIE-LCHlch(26.73, 40.51, 286.42°)
OKLaboklab(37.22% -0.0173 -0.1116)
OKLCHoklch(37.22% 0.113 261.2)
XYZxyz(5.6946, 4.9999, 19.4000)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D7B #7B591B
analogous
#1B6D7B #1B3D7B #291B7B
triadic
#1B3D7B #7B1B3D #3D7B1B
tetradic
#1B3D7B #7B1B6D #7B591B #1B7B29
square
#1B3D7B #7B1B6D #7B591B #1B7B29
split-complementary
#1B3D7B #7B291B #6D7B1B
monochromatic
#060C19 #102449 #1B3D7B #2656AD #3C72D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B3D7B#FFFFFF#000000##FFFFFF
##1B3D7B1.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)
#1A447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3d7b;
/* rgb */ color: rgb(27, 61, 123);
/* oklch */ color: oklch(37.2% 0.113 261.2);
Tailwind
colors: {
  custom: {
    50: '#6672a2',
    500: '#1b3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d7b;
$custom-light: #6672a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d7b",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 218.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.11295,
    "h": 261.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#1B3D7B
secondary
#AF8943
accent
#AC41E7
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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