#1B385F#1B385F

#1B385F is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.077 H 256.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#1B385F
RGBrgb(27, 56, 95)
HSLhsl(214, 56%, 24%)
HSVhsv(214, 72%, 37%)
CMYKcmyk(71.6%, 41.1%, 0%, 62.7%)
CIE-LABlab(23.30, 3.54, -26.42)
CIE-LCHlch(23.30, 26.66, 277.62°)
OKLaboklab(33.96% -0.0181 -0.0752)
OKLCHoklch(33.96% 0.077 256.5)
XYZxyz(3.9310, 3.8872, 11.3674)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B385F #5F421B
analogous
#1B5A5F #1B385F #201B5F
triadic
#1B385F #5F1B38 #385F1B
tetradic
#1B385F #5F1B5A #5F421B #1B5F20
square
#1B385F #5F1B5A #5F421B #1B5F20
split-complementary
#1B385F #5F201B #5A5F1B
monochromatic
#070E18 #0D1C2F #1B385F #29548F #3670BE

Accessibility & contrast

On white

11.81
#1B385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B385F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B385F#FFFFFF#000000##FFFFFF
##1B385F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b385f;
/* rgb */ color: rgb(27, 56, 95);
/* oklch */ color: oklch(34.0% 0.077 256.5);
Tailwind
colors: {
  custom: {
    50: '#606e8c',
    500: '#1b385f',
    950: '#000000',
  },
}
SCSS
$custom: #1b385f;
$custom-light: #606e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b385f",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 214.412,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.07732,
    "h": 256.5
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#1B385F
secondary
#957141
accent
#9F49DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1B385F

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

Preview Lab → · Contrast checker → · Palette generator →

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