#1B405E#1B405E

#1B405E is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.067 H 245.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1B405E
RGBrgb(27, 64, 94)
HSLhsl(207, 55%, 24%)
HSVhsv(207, 71%, 37%)
CMYKcmyk(71.3%, 31.9%, 0%, 63.1%)
CIE-LABlab(25.88, -2.31, -21.69)
CIE-LCHlch(25.88, 21.81, 263.93°)
OKLaboklab(35.97% -0.0276 -0.0612)
OKLCHoklch(35.97% 0.067 245.7)
XYZxyz(4.3050, 4.7075, 11.2693)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B405E #5E391B
analogous
#1B5E5A #1B405E #1B1E5E
triadic
#1B405E #5E1B40 #405E1B
tetradic
#1B405E #5A1B5E #5E391B #1E5E1B
square
#1B405E #5A1B5E #5E391B #1E5E1B
split-complementary
#1B405E #5E1B1E #5E5A1B
monochromatic
#071018 #0D202E #1B405E #29608E #3681BD

Accessibility & contrast

On white

10.82
#1B405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B405E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B405E#FFFFFF#000000##FFFFFF
##1B405E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#293A5D
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b405e;
/* rgb */ color: rgb(27, 64, 94);
/* oklch */ color: oklch(36.0% 0.067 245.7);
Tailwind
colors: {
  custom: {
    50: '#60748c',
    500: '#1b405e',
    950: '#000000',
  },
}
SCSS
$custom: #1b405e;
$custom-light: #60748c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b405e",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 206.866,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3597,
    "c": 0.06719,
    "h": 245.7
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#1B405E
secondary
#946641
accent
#8C49DF
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #1B405E

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

Preview Lab → · Contrast checker → · Palette generator →

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