#1B3E5F#1B3E5F

#1B3E5F is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.5% C 0.071 H 249.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1B3E5F
RGBrgb(27, 62, 95)
HSLhsl(209, 56%, 24%)
HSVhsv(209, 72%, 37%)
CMYKcmyk(71.6%, 34.7%, 0%, 62.7%)
CIE-LABlab(25.27, -0.58, -23.30)
CIE-LCHlch(25.27, 23.31, 268.58°)
OKLaboklab(35.51% -0.025 -0.0659)
OKLCHoklch(35.51% 0.071 249.3)
XYZxyz(4.2394, 4.5040, 11.4702)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E5F #5F3C1B
analogous
#1B5F5E #1B3E5F #1B1C5F
triadic
#1B3E5F #5F1B3E #3E5F1B
tetradic
#1B3E5F #5E1B5F #5F3C1B #1C5F1B
square
#1B3E5F #5E1B5F #5F3C1B #1C5F1B
split-complementary
#1B3E5F #5F1B1C #5F5E1B
monochromatic
#071018 #0D1F2F #1B3E5F #295D8F #367CBE

Accessibility & contrast

On white

11.05
#1B3E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1B3E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E5F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E5F#FFFFFF#000000##FFFFFF
##1B3E5F1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4060
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#00464A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3e5f;
/* rgb */ color: rgb(27, 62, 95);
/* oklch */ color: oklch(35.5% 0.071 249.3);
Tailwind
colors: {
  custom: {
    50: '#60738c',
    500: '#1b3e5f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e5f;
$custom-light: #60738c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e5f",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 95
  },
  "hsl": {
    "h": 209.118,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.07052,
    "h": 249.3
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#1B3E5F
secondary
#956A41
accent
#9249DF
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #1B3E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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