#1B358E#1B358E

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

Color values

HEX#1B358E
RGBrgb(27, 53, 142)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 56%)
CMYKcmyk(81%, 62.7%, 0%, 44.3%)
CIE-LABlab(25.96, 24.73, -51.98)
CIE-LCHlch(25.96, 57.57, 295.44°)
OKLaboklab(37.11% -0.0097 -0.1503)
OKLCHoklch(37.11% 0.151 266.3)
XYZxyz(6.6059, 4.7314, 26.1510)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358E #8E741B
analogous
#1B6E8E #1B358E #3B1B8E
triadic
#1B358E #8E1B35 #358E1B
tetradic
#1B358E #8E1B6E #8E741B #1B8E3B
square
#1B358E #8E1B6E #8E741B #1B8E3B
split-complementary
#1B358E #8E3B1B #6E8E1B
monochromatic
#070F27 #11225B #1B358E #2548C1 #4769DC

Accessibility & contrast

On white

10.79
#1B358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B358E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B358E#FFFFFF#000000##FFFFFF
##1B358E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b358e;
/* rgb */ color: rgb(27, 53, 142);
/* oklch */ color: oklch(37.1% 0.151 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6bb0',
    500: '#1b358e',
    950: '#000000',
  },
}
SCSS
$custom: #1b358e;
$custom-light: #6c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358e",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 226.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.15064,
    "h": 266.3
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#1B358E
secondary
#BEA347
accent
#C43DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B358E

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

Preview Lab → · Contrast checker → · Palette generator →

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