#1B415F#1B415F

#1B415F is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.3% C 0.068 H 245.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1B415F
RGBrgb(27, 65, 95)
HSLhsl(206, 56%, 24%)
HSVhsv(206, 72%, 37%)
CMYKcmyk(71.6%, 31.6%, 0%, 62.7%)
CIE-LABlab(26.27, -2.58, -21.73)
CIE-LCHlch(26.27, 21.88, 263.23°)
OKLaboklab(36.29% -0.0285 -0.0613)
OKLCHoklch(36.29% 0.068 245.1)
XYZxyz(4.4071, 4.8394, 11.5261)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B415F #5F391B
analogous
#1B5F5B #1B415F #1B1F5F
triadic
#1B415F #5F1B41 #415F1B
tetradic
#1B415F #5B1B5F #5F391B #1F5F1B
square
#1B415F #5B1B5F #5F391B #1F5F1B
split-complementary
#1B415F #5F1B1F #5F5B1B
monochromatic
#071018 #0D202F #1B415F #29628F #3682BE

Accessibility & contrast

On white

10.67
#1B415F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B415F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B415F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B415F#FFFFFF#000000##FFFFFF
##1B415F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344260
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#00484C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b415f;
/* rgb */ color: rgb(27, 65, 95);
/* oklch */ color: oklch(36.3% 0.068 245.1);
Tailwind
colors: {
  custom: {
    50: '#60758c',
    500: '#1b415f',
    950: '#000000',
  },
}
SCSS
$custom: #1b415f;
$custom-light: #60758c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b415f",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 206.471,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36294,
    "c": 0.06763,
    "h": 245.1
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#1B415F
secondary
#956641
accent
#8B49DF
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #1B415F

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

Preview Lab → · Contrast checker → · Palette generator →

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