#1B396E#1B396E

#1B396E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.099 H 260.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1B396E
RGBrgb(27, 57, 110)
HSLhsl(218, 61%, 27%)
HSVhsv(218, 75%, 43%)
CMYKcmyk(75.5%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.59, 8.93, -34.05)
CIE-LCHlch(24.59, 35.21, 284.70°)
OKLaboklab(35.28% -0.0157 -0.0976)
OKLCHoklch(35.28% 0.099 260.8)
XYZxyz(4.7286, 4.2846, 15.3266)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B396E #6E501B
analogous
#1B636E #1B396E #261B6E
triadic
#1B396E #6E1B39 #396E1B
tetradic
#1B396E #6E1B63 #6E501B #1B6E26
square
#1B396E #6E1B63 #6E501B #1B6E26
split-complementary
#1B396E #6E261B #636E1B
monochromatic
#060D19 #0F203D #1B396E #27529F #366DCE

Accessibility & contrast

On white

11.31
#1B396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B396E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B396E#FFFFFF#000000##FFFFFF
##1B396E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E70
Deuteranopia (green-blind)
#0C376D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b396e;
/* rgb */ color: rgb(27, 57, 110);
/* oklch */ color: oklch(35.3% 0.099 260.8);
Tailwind
colors: {
  custom: {
    50: '#636e98',
    500: '#1b396e',
    950: '#000000',
  },
}
SCSS
$custom: #1b396e;
$custom-light: #636e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1b396e",
  "rgb": {
    "r": 27,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 218.313,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.09882,
    "h": 260.8
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#1B396E
secondary
#A38042
accent
#AA44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #1B396E

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

Preview Lab → · Contrast checker → · Palette generator →

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