#1B358B#1B358B

#1B358B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.146 H 266.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1B358B
RGBrgb(27, 53, 139)
HSLhsl(226, 67%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.6%, 61.9%, 0%, 45.5%)
CIE-LABlab(25.69, 23.54, -50.56)
CIE-LCHlch(25.69, 55.77, 294.97°)
OKLaboklab(36.83% -0.0097 -0.1461)
OKLCHoklch(36.83% 0.146 266.2)
XYZxyz(6.3837, 4.6426, 24.9808)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358B #8B711B
analogous
#1B6D8B #1B358B #391B8B
triadic
#1B358B #8B1B35 #358B1B
tetradic
#1B358B #8B1B6D #8B711B #1B8B39
square
#1B358B #8B1B6D #8B711B #1B8B39
split-complementary
#1B358B #8B391B #6D8B1B
monochromatic
#070E25 #112158 #1B358B #2549BE #4568DB

Accessibility & contrast

On white

10.89
#1B358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B358B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B358B#FFFFFF#000000##FFFFFF
##1B358B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b358b;
/* rgb */ color: rgb(27, 53, 139);
/* oklch */ color: oklch(36.8% 0.146 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b6bae',
    500: '#1b358b',
    950: '#000000',
  },
}
SCSS
$custom: #1b358b;
$custom-light: #6b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358b",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 226.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36828,
    "c": 0.14647,
    "h": 266.2
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#1B358B
secondary
#BCA145
accent
#C23DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B358B

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

Preview Lab → · Contrast checker → · Palette generator →

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