#1B368B#1B368B

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

Color values

HEX#1B368B
RGBrgb(27, 54, 139)
HSLhsl(226, 67%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.6%, 61.2%, 0%, 45.5%)
CIE-LABlab(25.97, 22.85, -50.11)
CIE-LCHlch(25.97, 55.07, 294.51°)
OKLaboklab(37.03% -0.0103 -0.1448)
OKLCHoklch(37.03% 0.145 265.9)
XYZxyz(6.4297, 4.7347, 24.9961)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368B #8B701B
analogous
#1B6E8B #1B368B #381B8B
triadic
#1B368B #8B1B36 #368B1B
tetradic
#1B368B #8B1B6E #8B701B #1B8B38
square
#1B368B #8B1B6E #8B701B #1B8B38
split-complementary
#1B368B #8B381B #6E8B1B
monochromatic
#070E25 #112258 #1B368B #254ABE #4569DB

Accessibility & contrast

On white

10.79
#1B368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B368B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368B#FFFFFF#000000##FFFFFF
##1B368B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b368b;
/* rgb */ color: rgb(27, 54, 139);
/* oklch */ color: oklch(37.0% 0.145 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b6cae',
    500: '#1b368b',
    950: '#000000',
  },
}
SCSS
$custom: #1b368b;
$custom-light: #6b6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368b",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 225.536,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.14519,
    "h": 265.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#1B368B
secondary
#BCA045
accent
#C13DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1B368B

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

Preview Lab → · Contrast checker → · Palette generator →

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