#1B3A5C#1B3A5C

#1B3A5C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.070 H 252.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#1B3A5C
RGBrgb(27, 58, 92)
HSLhsl(211, 55%, 23%)
HSVhsv(211, 71%, 36%)
CMYKcmyk(70.7%, 37%, 0%, 63.9%)
CIE-LABlab(23.77, 0.95, -23.70)
CIE-LCHlch(23.77, 23.72, 272.31°)
OKLaboklab(34.28% -0.0213 -0.0672)
OKLCHoklch(34.28% 0.07 252.4)
XYZxyz(3.8961, 4.0314, 10.6960)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A5C #5C3D1B
analogous
#1B5A5C #1B3A5C #1C1B5C
triadic
#1B3A5C #5C1B3A #3A5C1B
tetradic
#1B3A5C #5C1B5A #5C3D1B #1B5C1C
square
#1B3A5C #5C1B5A #5C3D1B #1B5C1C
split-complementary
#1B3A5C #5C1C1B #5A5C1B
monochromatic
#070F18 #0D1C2D #1B3A5C #29588B #3776BB

Accessibility & contrast

On white

11.63
#1B3A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B3A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A5C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A5C#FFFFFF#000000##FFFFFF
##1B3A5C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3a5c;
/* rgb */ color: rgb(27, 58, 92);
/* oklch */ color: oklch(34.3% 0.070 252.4);
Tailwind
colors: {
  custom: {
    50: '#5f6f8a',
    500: '#1b3a5c',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a5c;
$custom-light: #5f6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a5c",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 211.385,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34276,
    "c": 0.07048,
    "h": 252.4
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#1B3A5C
secondary
#926B41
accent
#974ADE
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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