#1B388C#1B388C

#1B388C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.144 H 265.3°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1B388C
RGBrgb(27, 56, 140)
HSLhsl(225, 68%, 33%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(80.7%, 60%, 0%, 45.1%)
CIE-LABlab(26.60, 21.86, -49.69)
CIE-LCHlch(26.60, 54.28, 293.75°)
OKLaboklab(37.54% -0.0117 -0.1435)
OKLCHoklch(37.54% 0.144 265.3)
XYZxyz(6.5981, 4.9540, 25.4143)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B388C #8C6F1B
analogous
#1B708C #1B388C #371B8C
triadic
#1B388C #8C1B38 #388C1B
tetradic
#1B388C #8C1B70 #8C6F1B #1B8C37
square
#1B388C #8C1B70 #8C6F1B #1B8C37
split-complementary
#1B388C #8C371B #708C1B
monochromatic
#070F25 #112359 #1B388C #254DBF #466CDB

Accessibility & contrast

On white

10.55
#1B388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B388C
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B388C#FFFFFF#000000##FFFFFF
##1B388C1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b388c;
/* rgb */ color: rgb(27, 56, 140);
/* oklch */ color: oklch(37.5% 0.144 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1b388c',
    950: '#000000',
  },
}
SCSS
$custom: #1b388c;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b388c",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 224.602,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.14402,
    "h": 265.3
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#1B388C
secondary
#BD9E46
accent
#BE3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B388C

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

Preview Lab → · Contrast checker → · Palette generator →

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