#1B396B#1B396B

#1B396B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.094 H 260.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1B396B
RGBrgb(27, 57, 107)
HSLhsl(218, 60%, 26%)
HSVhsv(218, 75%, 42%)
CMYKcmyk(74.8%, 46.7%, 0%, 58%)
CIE-LABlab(24.39, 7.71, -32.46)
CIE-LCHlch(24.39, 33.36, 283.36°)
OKLaboklab(35.06% -0.0163 -0.0929)
OKLCHoklch(35.06% 0.094 260)
XYZxyz(4.5680, 4.2203, 14.4809)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B396B #6B4D1B
analogous
#1B616B #1B396B #251B6B
triadic
#1B396B #6B1B39 #396B1B
tetradic
#1B396B #6B1B61 #6B4D1B #1B6B25
square
#1B396B #6B1B61 #6B4D1B #1B6B25
split-complementary
#1B396B #6B251B #616B1B
monochromatic
#060D18 #0F1F3A #1B396B #27539C #356DCC

Accessibility & contrast

On white

11.39
#1B396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B396B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B396B#FFFFFF#000000##FFFFFF
##1B396B1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#11376A
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b396b;
/* rgb */ color: rgb(27, 57, 107);
/* oklch */ color: oklch(35.1% 0.094 260.0);
Tailwind
colors: {
  custom: {
    50: '#636e96',
    500: '#1b396b',
    950: '#000000',
  },
}
SCSS
$custom: #1b396b;
$custom-light: #636e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b396b",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 217.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.09428,
    "h": 260
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#1B396B
secondary
#A07D42
accent
#A845E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B396B

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

Preview Lab → · Contrast checker → · Palette generator →

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