#1B368A#1B368A

#1B368A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.144 H 265.9°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1B368A
RGBrgb(27, 54, 138)
HSLhsl(225, 67%, 32%)
HSVhsv(225, 80%, 54%)
CMYKcmyk(80.4%, 60.9%, 0%, 45.9%)
CIE-LABlab(25.88, 22.45, -49.63)
CIE-LCHlch(25.88, 54.47, 294.34°)
OKLaboklab(36.94% -0.0104 -0.1434)
OKLCHoklch(36.94% 0.144 265.9)
XYZxyz(6.3570, 4.7056, 24.6131)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368A #8A6F1B
analogous
#1B6E8A #1B368A #371B8A
triadic
#1B368A #8A1B36 #368A1B
tetradic
#1B368A #8A1B6E #8A6F1B #1B8A37
square
#1B368A #8A1B6E #8A6F1B #1B8A37
split-complementary
#1B368A #8A371B #6E8A1B
monochromatic
#070E24 #112257 #1B368A #254ABD #4569DB

Accessibility & contrast

On white

10.82
#1B368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B368A
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368A#FFFFFF#000000##FFFFFF
##1B368A1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b368a;
/* rgb */ color: rgb(27, 54, 138);
/* oklch */ color: oklch(36.9% 0.144 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b6cad',
    500: '#1b368a',
    950: '#000000',
  },
}
SCSS
$custom: #1b368a;
$custom-light: #6b6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368a",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 225.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36942,
    "c": 0.14379,
    "h": 265.9
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#1B368A
secondary
#BC9F45
accent
#C03EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B368A

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

Preview Lab → · Contrast checker → · Palette generator →

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