#1B346B#1B346B

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

Color values

HEX#1B346B
RGBrgb(27, 52, 107)
HSLhsl(221, 60%, 26%)
HSVhsv(221, 75%, 42%)
CMYKcmyk(74.8%, 51.4%, 0%, 58%)
CIE-LABlab(22.83, 11.25, -34.96)
CIE-LCHlch(22.83, 36.73, 287.85°)
OKLaboklab(33.86% -0.0113 -0.1003)
OKLCHoklch(33.86% 0.101 263.6)
XYZxyz(4.3329, 3.7501, 14.4026)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B346B #6B521B
analogous
#1B5C6B #1B346B #2A1B6B
triadic
#1B346B #6B1B34 #346B1B
tetradic
#1B346B #6B1B5C #6B521B #1B6B2A
square
#1B346B #6B1B5C #6B521B #1B6B2A
split-complementary
#1B346B #6B2A1B #5C6B1B
monochromatic
#060C18 #0F1C3A #1B346B #274C9C #3564CC

Accessibility & contrast

On white

12.00
#1B346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B346B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B346B#FFFFFF#000000##FFFFFF
##1B346B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b346b;
/* rgb */ color: rgb(27, 52, 107);
/* oklch */ color: oklch(33.9% 0.101 263.6);
Tailwind
colors: {
  custom: {
    50: '#636b96',
    500: '#1b346b',
    950: '#000000',
  },
}
SCSS
$custom: #1b346b;
$custom-light: #636b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b346b",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 221.25,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33858,
    "c": 0.10096,
    "h": 263.6
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B346B

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

Preview Lab → · Contrast checker → · Palette generator →

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