#1B388D#1B388D

#1B388D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.145 H 265.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1B388D
RGBrgb(27, 56, 141)
HSLhsl(225, 68%, 33%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(80.9%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.69, 22.26, -50.17)
CIE-LCHlch(26.69, 54.88, 293.93°)
OKLaboklab(37.63% -0.0116 -0.145)
OKLCHoklch(37.63% 0.145 265.4)
XYZxyz(6.6722, 4.9837, 25.8044)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B388D #8D701B
analogous
#1B718D #1B388D #371B8D
triadic
#1B388D #8D1B38 #388D1B
tetradic
#1B388D #8D1B71 #8D701B #1B8D37
square
#1B388D #8D1B71 #8D701B #1B8D37
split-complementary
#1B388D #8D371B #718D1B
monochromatic
#070F26 #11245A #1B388D #254CC0 #476DDC

Accessibility & contrast

On white

10.52
#1B388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B388D
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B388D#FFFFFF#000000##FFFFFF
##1B388D1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b388d;
/* rgb */ color: rgb(27, 56, 141);
/* oklch */ color: oklch(37.6% 0.145 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6eaf',
    500: '#1b388d',
    950: '#000000',
  },
}
SCSS
$custom: #1b388d;
$custom-light: #6b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b388d",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 224.737,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.14544,
    "h": 265.4
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#1B388D
secondary
#BD9F46
accent
#BF3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B388D

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

Preview Lab → · Contrast checker → · Palette generator →

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