#1B358A#1B358A

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

Color values

HEX#1B358A
RGBrgb(27, 53, 138)
HSLhsl(226, 67%, 32%)
HSVhsv(226, 80%, 54%)
CMYKcmyk(80.4%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.60, 23.14, -50.08)
CIE-LCHlch(25.60, 55.16, 294.80°)
OKLaboklab(36.74% -0.0097 -0.1447)
OKLCHoklch(36.74% 0.145 266.2)
XYZxyz(6.3109, 4.6135, 24.5977)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358A #8A701B
analogous
#1B6D8A #1B358A #391B8A
triadic
#1B358A #8A1B35 #358A1B
tetradic
#1B358A #8A1B6D #8A701B #1B8A39
square
#1B358A #8A1B6D #8A701B #1B8A39
split-complementary
#1B358A #8A391B #6D8A1B
monochromatic
#070E24 #112157 #1B358A #2549BD #4568DB

Accessibility & contrast

On white

10.92
#1B358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B358A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B358A#FFFFFF#000000##FFFFFF
##1B358A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b358a;
/* rgb */ color: rgb(27, 53, 138);
/* oklch */ color: oklch(36.7% 0.145 266.2);
Tailwind
colors: {
  custom: {
    50: '#6b6bad',
    500: '#1b358a',
    950: '#000000',
  },
}
SCSS
$custom: #1b358a;
$custom-light: #6b6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358a",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 225.946,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.14506,
    "h": 266.2
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#1B358A
secondary
#BCA045
accent
#C23EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B358A

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

Preview Lab → · Contrast checker → · Palette generator →

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