#1B346C#1B346C

#1B346C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.102 H 263.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1B346C
RGBrgb(27, 52, 108)
HSLhsl(221, 60%, 26%)
HSVhsv(221, 75%, 42%)
CMYKcmyk(75%, 51.9%, 0%, 57.6%)
CIE-LABlab(22.90, 11.67, -35.49)
CIE-LCHlch(22.90, 37.36, 288.20°)
OKLaboklab(33.94% -0.0112 -0.1019)
OKLCHoklch(33.94% 0.102 263.7)
XYZxyz(4.3858, 3.7712, 14.6812)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B346C #6C531B
analogous
#1B5D6C #1B346C #2B1B6C
triadic
#1B346C #6C1B34 #346C1B
tetradic
#1B346C #6C1B5D #6C531B #1B6C2B
square
#1B346C #6C1B5D #6C531B #1B6C2B
split-complementary
#1B346C #6C2B1B #5D6C1B
monochromatic
#060C18 #0F1C3B #1B346C #274C9D #3564CC

Accessibility & contrast

On white

11.97
#1B346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B346C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B346C#FFFFFF#000000##FFFFFF
##1B346C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143B6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b346c;
/* rgb */ color: rgb(27, 52, 108);
/* oklch */ color: oklch(33.9% 0.102 263.7);
Tailwind
colors: {
  custom: {
    50: '#636b96',
    500: '#1b346c',
    950: '#000000',
  },
}
SCSS
$custom: #1b346c;
$custom-light: #636b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b346c",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 221.481,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33937,
    "c": 0.10248,
    "h": 263.7
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#1B346C
secondary
#A18442
accent
#B245E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B346C

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

Preview Lab → · Contrast checker → · Palette generator →

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