#1B3D7C#1B3D7C

#1B3D7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.114 H 261.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#1B3D7C
RGBrgb(27, 61, 124)
HSLhsl(219, 64%, 30%)
HSVhsv(219, 78%, 49%)
CMYKcmyk(78.2%, 50.8%, 0%, 51.4%)
CIE-LABlab(26.81, 11.86, -39.37)
CIE-LCHlch(26.81, 41.12, 286.76°)
OKLaboklab(37.3% -0.0171 -0.1131)
OKLCHoklch(37.3% 0.114 261.4)
XYZxyz(5.7575, 5.0251, 19.7314)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D7C #7C5A1B
analogous
#1B6E7C #1B3D7C #2A1B7C
triadic
#1B3D7C #7C1B3D #3D7C1B
tetradic
#1B3D7C #7C1B6E #7C5A1B #1B7C2A
square
#1B3D7C #7C1B6E #7C5A1B #1B7C2A
split-complementary
#1B3D7C #7C2A1B #6E7C1B
monochromatic
#050C19 #10244A #1B3D7C #2656AE #3D72D5

Accessibility & contrast

On white

10.47
#1B3D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D7C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D7C#FFFFFF#000000##FFFFFF
##1B3D7C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3d7c;
/* rgb */ color: rgb(27, 61, 124);
/* oklch */ color: oklch(37.3% 0.114 261.4);
Tailwind
colors: {
  custom: {
    50: '#6771a2',
    500: '#1b3d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d7c;
$custom-light: #6771a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d7c",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 218.969,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37295,
    "c": 0.11443,
    "h": 261.4
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#1B3D7C
secondary
#B08A43
accent
#AD41E7
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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