#1B3A7B#1B3A7B

#1B3A7B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.117 H 262.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1B3A7B
RGBrgb(27, 58, 123)
HSLhsl(221, 64%, 29%)
HSVhsv(221, 78%, 48%)
CMYKcmyk(78%, 52.8%, 0%, 51.8%)
CIE-LABlab(25.83, 13.55, -40.32)
CIE-LCHlch(25.83, 42.54, 288.58°)
OKLaboklab(36.53% -0.0146 -0.116)
OKLCHoklch(36.53% 0.117 262.8)
XYZxyz(5.5389, 4.6886, 19.3481)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A7B #7B5C1B
analogous
#1B6A7B #1B3A7B #2C1B7B
triadic
#1B3A7B #7B1B3A #3A7B1B
tetradic
#1B3A7B #7B1B6A #7B5C1B #1B7B2C
square
#1B3A7B #7B1B6A #7B5C1B #1B7B2C
split-complementary
#1B3A7B #7B2C1B #6A7B1B
monochromatic
#060C19 #102249 #1B3A7B #2652AD #3C6DD4

Accessibility & contrast

On white

10.84
#1B3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B3A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A7B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A7B#FFFFFF#000000##FFFFFF
##1B3A7B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3a7b;
/* rgb */ color: rgb(27, 58, 123);
/* oklch */ color: oklch(36.5% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#676fa2',
    500: '#1b3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a7b;
$custom-light: #676fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a7b",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 220.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36525,
    "c": 0.11691,
    "h": 262.8
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#1B3A7B
secondary
#AF8C43
accent
#B141E7
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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