#1B385B#1B385B

#1B385B is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.071 H 254.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1B385B
RGBrgb(27, 56, 91)
HSLhsl(213, 54%, 23%)
HSVhsv(213, 70%, 36%)
CMYKcmyk(70.3%, 38.5%, 0%, 64.3%)
CIE-LABlab(23.05, 1.93, -24.19)
CIE-LCHlch(23.05, 24.27, 274.57°)
OKLaboklab(33.69% -0.0192 -0.0686)
OKLCHoklch(33.69% 0.071 254.4)
XYZxyz(3.7538, 3.8163, 10.4343)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B385B #5B3E1B
analogous
#1B585B #1B385B #1E1B5B
triadic
#1B385B #5B1B38 #385B1B
tetradic
#1B385B #5B1B58 #5B3E1B #1B5B1E
square
#1B385B #5B1B58 #5B3E1B #1B5B1E
split-complementary
#1B385B #5B1E1B #585B1B
monochromatic
#070F18 #0D1B2C #1B385B #29558A #3772B9

Accessibility & contrast

On white

11.91
#1B385B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B385B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B385B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B385B#FFFFFF#000000##FFFFFF
##1B385B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5C
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b385b;
/* rgb */ color: rgb(27, 56, 91);
/* oklch */ color: oklch(33.7% 0.071 254.4);
Tailwind
colors: {
  custom: {
    50: '#5f6e89',
    500: '#1b385b',
    950: '#000000',
  },
}
SCSS
$custom: #1b385b;
$custom-light: #5f6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#1b385b",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 212.813,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.07127,
    "h": 254.4
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#1B385B
secondary
#916D41
accent
#9B4ADE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B385B

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

Preview Lab → · Contrast checker → · Palette generator →

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