#1B348B#1B348B

#1B348B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.148 H 266.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1B348B
RGBrgb(27, 52, 139)
HSLhsl(227, 67%, 33%)
HSVhsv(227, 81%, 55%)
CMYKcmyk(80.6%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.42, 24.23, -51.00)
CIE-LCHlch(25.42, 56.46, 295.41°)
OKLaboklab(36.63% -0.009 -0.1475)
OKLCHoklch(36.63% 0.148 266.5)
XYZxyz(6.3386, 4.5523, 24.9657)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B348B #8B721B
analogous
#1B6C8B #1B348B #3A1B8B
triadic
#1B348B #8B1B34 #348B1B
tetradic
#1B348B #8B1B6C #8B721B #1B8B3A
square
#1B348B #8B1B6C #8B721B #1B8B3A
split-complementary
#1B348B #8B3A1B #6C8B1B
monochromatic
#070E25 #112158 #1B348B #2547BE #4567DB

Accessibility & contrast

On white

10.99
#1B348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B348B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B348B#FFFFFF#000000##FFFFFF
##1B348B1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b348b;
/* rgb */ color: rgb(27, 52, 139);
/* oklch */ color: oklch(36.6% 0.148 266.5);
Tailwind
colors: {
  custom: {
    50: '#6b6bae',
    500: '#1b348b',
    950: '#000000',
  },
}
SCSS
$custom: #1b348b;
$custom-light: #6b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b348b",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 226.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.14774,
    "h": 266.5
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#1B348B
secondary
#BCA245
accent
#C43DEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B348B

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

Preview Lab → · Contrast checker → · Palette generator →

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