#1B358D#1B358D

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

Color values

HEX#1B358D
RGBrgb(27, 53, 141)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.9%, 62.4%, 0%, 44.7%)
CIE-LABlab(25.87, 24.33, -51.51)
CIE-LCHlch(25.87, 56.97, 295.29°)
OKLaboklab(37.01% -0.0097 -0.1489)
OKLCHoklch(37.01% 0.149 266.3)
XYZxyz(6.5311, 4.7015, 25.7574)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358D #8D731B
analogous
#1B6E8D #1B358D #3A1B8D
triadic
#1B358D #8D1B35 #358D1B
tetradic
#1B358D #8D1B6E #8D731B #1B8D3A
square
#1B358D #8D1B6E #8D731B #1B8D3A
split-complementary
#1B358D #8D3A1B #6E8D1B
monochromatic
#070E26 #11225A #1B358D #2548C0 #4769DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B358D#FFFFFF#000000##FFFFFF
##1B358D1.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)
#004390
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b358d;
/* rgb */ color: rgb(27, 53, 141);
/* oklch */ color: oklch(37.0% 0.149 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6baf',
    500: '#1b358d',
    950: '#000000',
  },
}
SCSS
$custom: #1b358d;
$custom-light: #6c6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358d",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 226.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37014,
    "c": 0.14925,
    "h": 266.3
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#1B358D
secondary
#BDA246
accent
#C33DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B358D

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

Preview Lab → · Contrast checker → · Palette generator →

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