#1B368D#1B368D

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

Color values

HEX#1B368D
RGBrgb(27, 54, 141)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.9%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.14, 23.64, -51.06)
CIE-LCHlch(26.14, 56.27, 294.84°)
OKLaboklab(37.22% -0.0103 -0.1476)
OKLCHoklch(37.22% 0.148 266)
XYZxyz(6.5772, 4.7937, 25.7728)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368D #8D721B
analogous
#1B6F8D #1B368D #391B8D
triadic
#1B368D #8D1B36 #368D1B
tetradic
#1B368D #8D1B6F #8D721B #1B8D39
square
#1B368D #8D1B6F #8D721B #1B8D39
split-complementary
#1B368D #8D391B #6F8D1B
monochromatic
#070F26 #11225A #1B368D #254AC0 #476ADC

Accessibility & contrast

On white

10.72
#1B368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B368D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368D#FFFFFF#000000##FFFFFF
##1B368D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b368d;
/* rgb */ color: rgb(27, 54, 141);
/* oklch */ color: oklch(37.2% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c6caf',
    500: '#1b368d',
    950: '#000000',
  },
}
SCSS
$custom: #1b368d;
$custom-light: #6c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368d",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 225.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.14799,
    "h": 266
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#1B368D
secondary
#BDA146
accent
#C23DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B368D

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

Preview Lab → · Contrast checker → · Palette generator →

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