#1B396F#1B396F

#1B396F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.100 H 261.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1B396F
RGBrgb(27, 57, 111)
HSLhsl(219, 61%, 27%)
HSVhsv(219, 76%, 44%)
CMYKcmyk(75.7%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.66, 9.34, -34.58)
CIE-LCHlch(24.66, 35.82, 285.12°)
OKLaboklab(35.35% -0.0156 -0.0991)
OKLCHoklch(35.35% 0.1 261.1)
XYZxyz(4.7833, 4.3065, 15.6150)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B396F #6F511B
analogous
#1B636F #1B396F #271B6F
triadic
#1B396F #6F1B39 #396F1B
tetradic
#1B396F #6F1B63 #6F511B #1B6F27
square
#1B396F #6F1B63 #6F511B #1B6F27
split-complementary
#1B396F #6F271B #636F1B
monochromatic
#060D19 #0F203E #1B396F #2752A0 #366CCE

Accessibility & contrast

On white

11.28
#1B396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B396F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B396F#FFFFFF#000000##FFFFFF
##1B396F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b396f;
/* rgb */ color: rgb(27, 57, 111);
/* oklch */ color: oklch(35.4% 0.100 261.1);
Tailwind
colors: {
  custom: {
    50: '#646e99',
    500: '#1b396f',
    950: '#000000',
  },
}
SCSS
$custom: #1b396f;
$custom-light: #646e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b396f",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 218.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35354,
    "c": 0.10033,
    "h": 261.1
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#1B396F
secondary
#A48142
accent
#AB44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1B396F

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

Preview Lab → · Contrast checker → · Palette generator →

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