#1B358C#1B358C

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

Color values

HEX#1B358C
RGBrgb(27, 53, 140)
HSLhsl(226, 68%, 33%)
HSVhsv(226, 81%, 55%)
CMYKcmyk(80.7%, 62.1%, 0%, 45.1%)
CIE-LABlab(25.78, 23.94, -51.03)
CIE-LCHlch(25.78, 56.37, 295.13°)
OKLaboklab(36.92% -0.0097 -0.1475)
OKLCHoklch(36.92% 0.148 266.3)
XYZxyz(6.4571, 4.6719, 25.3673)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358C #8C721B
analogous
#1B6D8C #1B358C #3A1B8C
triadic
#1B358C #8C1B35 #358C1B
tetradic
#1B358C #8C1B6D #8C721B #1B8C3A
square
#1B358C #8C1B6D #8C721B #1B8C3A
split-complementary
#1B358C #8C3A1B #6D8C1B
monochromatic
#070E25 #112259 #1B358C #2548BF #4668DB

Accessibility & contrast

On white

10.85
#1B358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B358C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B358C#FFFFFF#000000##FFFFFF
##1B358C1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b358c;
/* rgb */ color: rgb(27, 53, 140);
/* oklch */ color: oklch(36.9% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b6bae',
    500: '#1b358c',
    950: '#000000',
  },
}
SCSS
$custom: #1b358c;
$custom-light: #6b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358c",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 226.195,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.14787,
    "h": 266.3
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#1B358C
secondary
#BDA246
accent
#C33DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B358C

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

Preview Lab → · Contrast checker → · Palette generator →

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