#1B358F#1B358F

#1B358F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.152 H 266.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1B358F
RGBrgb(27, 53, 143)
HSLhsl(227, 68%, 33%)
HSVhsv(227, 81%, 56%)
CMYKcmyk(81.1%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.04, 25.13, -52.46)
CIE-LCHlch(26.04, 58.16, 295.60°)
OKLaboklab(37.2% -0.0096 -0.1517)
OKLCHoklch(37.2% 0.152 266.4)
XYZxyz(6.6813, 4.7616, 26.5482)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B358F #8F751B
analogous
#1B6F8F #1B358F #3B1B8F
triadic
#1B358F #8F1B35 #358F1B
tetradic
#1B358F #8F1B6F #8F751B #1B8F3B
square
#1B358F #8F1B6F #8F751B #1B8F3B
split-complementary
#1B358F #8F3B1B #6F8F1B
monochromatic
#080F28 #11225C #1B358F #2548C2 #4869DC

Accessibility & contrast

On white

10.76
#1B358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B358F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B358F#FFFFFF#000000##FFFFFF
##1B358F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b358f;
/* rgb */ color: rgb(27, 53, 143);
/* oklch */ color: oklch(37.2% 0.152 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c6bb1',
    500: '#1b358f',
    950: '#000000',
  },
}
SCSS
$custom: #1b358f;
$custom-light: #6c6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b358f",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 226.552,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37201,
    "c": 0.15203,
    "h": 266.4
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#1B358F
secondary
#BEA448
accent
#C43DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B358F

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

Preview Lab → · Contrast checker → · Palette generator →

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