#1B368C#1B368C

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

Color values

HEX#1B368C
RGBrgb(27, 54, 140)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.7%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.05, 23.25, -50.59)
CIE-LCHlch(26.05, 55.67, 294.68°)
OKLaboklab(37.12% -0.0103 -0.1462)
OKLCHoklch(37.12% 0.147 266)
XYZxyz(6.5031, 4.7640, 25.3827)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B368C #8C711B
analogous
#1B6E8C #1B368C #391B8C
triadic
#1B368C #8C1B36 #368C1B
tetradic
#1B368C #8C1B6E #8C711B #1B8C39
square
#1B368C #8C1B6E #8C711B #1B8C39
split-complementary
#1B368C #8C391B #6E8C1B
monochromatic
#070E25 #112259 #1B368C #254ABF #466ADB

Accessibility & contrast

On white

10.75
#1B368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B368C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B368C#FFFFFF#000000##FFFFFF
##1B368C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b368c;
/* rgb */ color: rgb(27, 54, 140);
/* oklch */ color: oklch(37.1% 0.147 266.0);
Tailwind
colors: {
  custom: {
    50: '#6b6cae',
    500: '#1b368c',
    950: '#000000',
  },
}
SCSS
$custom: #1b368c;
$custom-light: #6b6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b368c",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 225.664,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.14659,
    "h": 266
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#1B368C
secondary
#BDA046
accent
#C13DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B368C

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

Preview Lab → · Contrast checker → · Palette generator →

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