#1B388E#1B388E

#1B388E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.147 H 265.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1B388E
RGBrgb(27, 56, 142)
HSLhsl(225, 68%, 33%)
HSVhsv(225, 81%, 56%)
CMYKcmyk(81%, 60.6%, 0%, 44.3%)
CIE-LABlab(26.77, 22.66, -50.65)
CIE-LCHlch(26.77, 55.48, 294.10°)
OKLaboklab(37.72% -0.0116 -0.1464)
OKLCHoklch(37.72% 0.147 265.5)
XYZxyz(6.7469, 5.0136, 26.1981)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B388E #8E711B
analogous
#1B718E #1B388E #381B8E
triadic
#1B388E #8E1B38 #388E1B
tetradic
#1B388E #8E1B71 #8E711B #1B8E38
square
#1B388E #8E1B71 #8E711B #1B8E38
split-complementary
#1B388E #8E381B #718E1B
monochromatic
#070F27 #11245B #1B388E #254CC1 #476DDC

Accessibility & contrast

On white

10.49
#1B388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B388E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B388E#FFFFFF#000000##FFFFFF
##1B388E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b388e;
/* rgb */ color: rgb(27, 56, 142);
/* oklch */ color: oklch(37.7% 0.147 265.5);
Tailwind
colors: {
  custom: {
    50: '#6c6eb0',
    500: '#1b388e',
    950: '#000000',
  },
}
SCSS
$custom: #1b388e;
$custom-light: #6c6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b388e",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 224.87,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37717,
    "c": 0.14683,
    "h": 265.5
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#1B388E
secondary
#BEA047
accent
#BF3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B388E

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

Preview Lab → · Contrast checker → · Palette generator →

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