#1B368E#1B368E

#1B368E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.149 H 266.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#1B368E
RGBrgb(27, 54, 142)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 56%)
CMYKcmyk(81%, 62%, 0%, 44.3%)
CIE-LABlab(26.23, 24.04, -51.54)
CIE-LCHlch(26.23, 56.87, 295.01°)
OKLaboklab(37.31% -0.0103 -0.149)
OKLCHoklch(37.31% 0.149 266)
XYZxyz(6.6519, 4.8236, 26.1664)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368E #8E731B
analogous
#1B6F8E #1B368E #391B8E
triadic
#1B368E #8E1B36 #368E1B
tetradic
#1B368E #8E1B6F #8E731B #1B8E39
square
#1B368E #8E1B6F #8E731B #1B8E39
split-complementary
#1B368E #8E391B #6F8E1B
monochromatic
#070F27 #11225B #1B368E #254AC1 #476ADC

Accessibility & contrast

On white

10.69
#1B368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1B368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B368E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368E#FFFFFF#000000##FFFFFF
##1B368E1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b368e;
/* rgb */ color: rgb(27, 54, 142);
/* oklch */ color: oklch(37.3% 0.149 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6cb0',
    500: '#1b368e',
    950: '#000000',
  },
}
SCSS
$custom: #1b368e;
$custom-light: #6c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368e",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 225.913,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.14938,
    "h": 266
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#1B368E
secondary
#BEA247
accent
#C23DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B368E

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

Preview Lab → · Contrast checker → · Palette generator →

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