#1B236A#1B236A

#1B236A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.123 H 271.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#1B236A
RGBrgb(27, 35, 106)
HSLhsl(234, 59%, 26%)
HSVhsv(234, 75%, 42%)
CMYKcmyk(74.5%, 67%, 0%, 58.4%)
CIE-LABlab(17.81, 23.03, -42.46)
CIE-LCHlch(17.81, 48.30, 298.47°)
OKLaboklab(30.07% 0.0037 -0.1226)
OKLCHoklch(30.07% 0.123 271.7)
XYZxyz(3.6537, 2.4753, 13.9181)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B236A #6A621B
analogous
#1B4A6A #1B236A #3A1B6A
triadic
#1B236A #6A1B23 #236A1B
tetradic
#1B236A #6A1B4A #6A621B #1B6A3A
square
#1B236A #6A1B4A #6A621B #1B6A3A
split-complementary
#1B236A #6A3A1B #4A6A1B
monochromatic
#060818 #0F1339 #1B236A #27339B #3443CB

Accessibility & contrast

On white

14.04
#1B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B236A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B236A#FFFFFF#000000##FFFFFF
##1B236A1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1b236a;
/* rgb */ color: rgb(27, 35, 106);
/* oklch */ color: oklch(30.1% 0.123 271.7);
Tailwind
colors: {
  custom: {
    50: '#645e95',
    500: '#1b236a',
    950: '#000000',
  },
}
SCSS
$custom: #1b236a;
$custom-light: #645e95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b236a",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 233.924,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.12268,
    "h": 271.7
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#1B236A
secondary
#9F9642
accent
#D345E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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