#1B388A#1B388A

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

Color values

HEX#1B388A
RGBrgb(27, 56, 138)
HSLhsl(224, 67%, 32%)
HSVhsv(224, 80%, 54%)
CMYKcmyk(80.4%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.44, 21.05, -48.72)
CIE-LCHlch(26.44, 53.08, 293.37°)
OKLaboklab(37.36% -0.0118 -0.1407)
OKLCHoklch(37.36% 0.141 265.2)
XYZxyz(6.4520, 4.8956, 24.6447)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B388A #8A6D1B
analogous
#1B708A #1B388A #351B8A
triadic
#1B388A #8A1B38 #388A1B
tetradic
#1B388A #8A1B70 #8A6D1B #1B8A35
square
#1B388A #8A1B70 #8A6D1B #1B8A35
split-complementary
#1B388A #8A351B #708A1B
monochromatic
#070E24 #112357 #1B388A #254DBD #456CDB

Accessibility & contrast

On white

10.61
#1B388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B388A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B388A#FFFFFF#000000##FFFFFF
##1B388A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b388a;
/* rgb */ color: rgb(27, 56, 138);
/* oklch */ color: oklch(37.4% 0.141 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b6ead',
    500: '#1b388a',
    950: '#000000',
  },
}
SCSS
$custom: #1b388a;
$custom-light: #6b6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1b388a",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 224.324,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.14121,
    "h": 265.2
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#1B388A
secondary
#BC9D45
accent
#BD3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B388A

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

Preview Lab → · Contrast checker → · Palette generator →

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