#1B348F#1B348F

#1B348F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.153 H 266.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#1B348F
RGBrgb(27, 52, 143)
HSLhsl(227, 68%, 33%)
HSVhsv(227, 81%, 56%)
CMYKcmyk(81.1%, 63.6%, 0%, 43.9%)
CIE-LABlab(25.78, 25.81, -52.89)
CIE-LCHlch(25.78, 58.86, 296.01°)
OKLaboklab(37% -0.009 -0.153)
OKLCHoklch(37% 0.153 266.6)
XYZxyz(6.6362, 4.6714, 26.5332)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B348F #8F761B
analogous
#1B6E8F #1B348F #3C1B8F
triadic
#1B348F #8F1B34 #348F1B
tetradic
#1B348F #8F1B6E #8F761B #1B8F3C
square
#1B348F #8F1B6E #8F761B #1B8F3C
split-complementary
#1B348F #8F3C1B #6E8F1B
monochromatic
#080F28 #11215C #1B348F #2547C2 #4868DC

Accessibility & contrast

On white

10.86
#1B348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B348F
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B348F#FFFFFF#000000##FFFFFF
##1B348F1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b348f;
/* rgb */ color: rgb(27, 52, 143);
/* oklch */ color: oklch(37.0% 0.153 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c6bb1',
    500: '#1b348f',
    950: '#000000',
  },
}
SCSS
$custom: #1b348f;
$custom-light: #6c6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b348f",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 227.069,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37002,
    "c": 0.15328,
    "h": 266.6
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#1B348F
secondary
#BEA548
accent
#C63DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B348F

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

Preview Lab → · Contrast checker → · Palette generator →

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