#1B385E#1B385E

#1B385E is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.9% C 0.076 H 256.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1B385E
RGBrgb(27, 56, 94)
HSLhsl(214, 55%, 24%)
HSVhsv(214, 71%, 37%)
CMYKcmyk(71.3%, 40.4%, 0%, 63.1%)
CIE-LABlab(23.23, 3.13, -25.87)
CIE-LCHlch(23.23, 26.06, 276.91°)
OKLaboklab(33.89% -0.0184 -0.0735)
OKLCHoklch(33.89% 0.076 256)
XYZxyz(3.8858, 3.8691, 11.1295)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B385E #5E411B
analogous
#1B595E #1B385E #1F1B5E
triadic
#1B385E #5E1B38 #385E1B
tetradic
#1B385E #5E1B59 #5E411B #1B5E1F
square
#1B385E #5E1B59 #5E411B #1B5E1F
split-complementary
#1B385E #5E1F1B #595E1B
monochromatic
#070E18 #0D1C2E #1B385E #29548E #3671BD

Accessibility & contrast

On white

11.84
#1B385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B385E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B385E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B385E#FFFFFF#000000##FFFFFF
##1B385E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#1D355D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b385e;
/* rgb */ color: rgb(27, 56, 94);
/* oklch */ color: oklch(33.9% 0.076 256.0);
Tailwind
colors: {
  custom: {
    50: '#606e8c',
    500: '#1b385e',
    950: '#000000',
  },
}
SCSS
$custom: #1b385e;
$custom-light: #606e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b385e",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 214.03,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33892,
    "c": 0.0758,
    "h": 256
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#1B385E
secondary
#947041
accent
#9E49DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1B385E

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

Preview Lab → · Contrast checker → · Palette generator →

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