#1B396C#1B396C

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

Color values

HEX#1B396C
RGBrgb(27, 57, 108)
HSLhsl(218, 60%, 26%)
HSVhsv(218, 75%, 42%)
CMYKcmyk(75%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.45, 8.12, -32.99)
CIE-LCHlch(24.45, 33.97, 283.82°)
OKLaboklab(35.13% -0.0161 -0.0944)
OKLCHoklch(35.13% 0.096 260.3)
XYZxyz(4.6209, 4.2415, 14.7596)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B396C #6C4E1B
analogous
#1B626C #1B396C #261B6C
triadic
#1B396C #6C1B39 #396C1B
tetradic
#1B396C #6C1B62 #6C4E1B #1B6C26
square
#1B396C #6C1B62 #6C4E1B #1B6C26
split-complementary
#1B396C #6C261B #626C1B
monochromatic
#060D18 #0F1F3B #1B396C #27539D #356DCC

Accessibility & contrast

On white

11.36
#1B396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B396C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B396C#FFFFFF#000000##FFFFFF
##1B396C1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6E
Deuteranopia (green-blind)
#10376B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b396c;
/* rgb */ color: rgb(27, 57, 108);
/* oklch */ color: oklch(35.1% 0.096 260.3);
Tailwind
colors: {
  custom: {
    50: '#636e96',
    500: '#1b396c',
    950: '#000000',
  },
}
SCSS
$custom: #1b396c;
$custom-light: #636e96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b396c",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 217.778,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35129,
    "c": 0.0958,
    "h": 260.3
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B396C

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

Preview Lab → · Contrast checker → · Palette generator →

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