#1B388B#1B388B

#1B388B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.143 H 265.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1B388B
RGBrgb(27, 56, 139)
HSLhsl(224, 67%, 33%)
HSVhsv(224, 81%, 55%)
CMYKcmyk(80.6%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.52, 21.46, -49.20)
CIE-LCHlch(26.52, 53.68, 293.56°)
OKLaboklab(37.45% -0.0117 -0.1421)
OKLCHoklch(37.45% 0.143 265.3)
XYZxyz(6.5247, 4.9247, 25.0278)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B388B #8B6E1B
analogous
#1B708B #1B388B #361B8B
triadic
#1B388B #8B1B38 #388B1B
tetradic
#1B388B #8B1B70 #8B6E1B #1B8B36
square
#1B388B #8B1B70 #8B6E1B #1B8B36
split-complementary
#1B388B #8B361B #708B1B
monochromatic
#070F25 #112358 #1B388B #254DBE #456CDB

Accessibility & contrast

On white

10.58
#1B388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B388B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B388B#FFFFFF#000000##FFFFFF
##1B388B1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b388b;
/* rgb */ color: rgb(27, 56, 139);
/* oklch */ color: oklch(37.4% 0.143 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1b388b',
    950: '#000000',
  },
}
SCSS
$custom: #1b388b;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b388b",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 224.464,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37447,
    "c": 0.14262,
    "h": 265.3
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#1B388B
secondary
#BC9E45
accent
#BE3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B388B

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

Preview Lab → · Contrast checker → · Palette generator →

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