#1B395D#1B395D

#1B395D is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.073 H 254.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1B395D
RGBrgb(27, 57, 93)
HSLhsl(213, 55%, 24%)
HSVhsv(213, 71%, 36%)
CMYKcmyk(71%, 38.7%, 0%, 63.5%)
CIE-LABlab(23.50, 2.04, -24.79)
CIE-LCHlch(23.50, 24.87, 274.71°)
OKLaboklab(34.08% -0.0198 -0.0704)
OKLCHoklch(34.08% 0.073 254.3)
XYZxyz(3.8902, 3.9492, 10.9111)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B395D #5D3F1B
analogous
#1B5A5D #1B395D #1E1B5D
triadic
#1B395D #5D1B39 #395D1B
tetradic
#1B395D #5D1B5A #5D3F1B #1B5D1E
square
#1B395D #5D1B5A #5D3F1B #1B5D1E
split-complementary
#1B395D #5D1E1B #5A5D1B
monochromatic
#070F18 #0D1C2E #1B395D #29568C #3773BC

Accessibility & contrast

On white

11.73
#1B395D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B395D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B395D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B395D#FFFFFF#000000##FFFFFF
##1B395D1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5E
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b395d;
/* rgb */ color: rgb(27, 57, 93);
/* oklch */ color: oklch(34.1% 0.073 254.3);
Tailwind
colors: {
  custom: {
    50: '#606f8b',
    500: '#1b395d',
    950: '#000000',
  },
}
SCSS
$custom: #1b395d;
$custom-light: #606f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b395d",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 212.727,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34082,
    "c": 0.0731,
    "h": 254.3
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#1B395D
secondary
#936E41
accent
#9B49DE
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #1B395D

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

Preview Lab → · Contrast checker → · Palette generator →

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