#1B348E#1B348E

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

Color values

HEX#1B348E
RGBrgb(27, 52, 142)
HSLhsl(227, 68%, 33%)
HSVhsv(227, 81%, 56%)
CMYKcmyk(81%, 63.4%, 0%, 44.3%)
CIE-LABlab(25.69, 25.42, -52.42)
CIE-LCHlch(25.69, 58.26, 295.87°)
OKLaboklab(36.91% -0.009 -0.1516)
OKLCHoklch(36.91% 0.152 266.6)
XYZxyz(6.5608, 4.6412, 26.1360)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B348E #8E751B
analogous
#1B6D8E #1B348E #3C1B8E
triadic
#1B348E #8E1B34 #348E1B
tetradic
#1B348E #8E1B6D #8E751B #1B8E3C
square
#1B348E #8E1B6D #8E751B #1B8E3C
split-complementary
#1B348E #8E3C1B #6D8E1B
monochromatic
#070E27 #11215B #1B348E #2547C1 #4768DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B348E#FFFFFF#000000##FFFFFF
##1B348E1.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)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b348e;
/* rgb */ color: rgb(27, 52, 142);
/* oklch */ color: oklch(36.9% 0.152 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6bb0',
    500: '#1b348e',
    950: '#000000',
  },
}
SCSS
$custom: #1b348e;
$custom-light: #6c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b348e",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 226.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36908,
    "c": 0.1519,
    "h": 266.6
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#1B348E
secondary
#BEA447
accent
#C53DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B348E

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

Preview Lab → · Contrast checker → · Palette generator →

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