#1B346F#1B346F

#1B346F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.107 H 264.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1B346F
RGBrgb(27, 52, 111)
HSLhsl(222, 61%, 27%)
HSVhsv(222, 76%, 44%)
CMYKcmyk(75.7%, 53.2%, 0%, 56.5%)
CIE-LABlab(23.12, 12.89, -37.06)
CIE-LCHlch(23.12, 39.24, 289.19°)
OKLaboklab(34.18% -0.0108 -0.1065)
OKLCHoklch(34.18% 0.107 264.2)
XYZxyz(4.5482, 3.8362, 15.5366)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B346F #6F561B
analogous
#1B5E6F #1B346F #2C1B6F
triadic
#1B346F #6F1B34 #346F1B
tetradic
#1B346F #6F1B5E #6F561B #1B6F2C
square
#1B346F #6F1B5E #6F561B #1B6F2C
split-complementary
#1B346F #6F2C1B #5E6F1B
monochromatic
#060C19 #0F1D3E #1B346F #274BA0 #3663CE

Accessibility & contrast

On white

11.88
#1B346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B346F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B346F#FFFFFF#000000##FFFFFF
##1B346F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b346f;
/* rgb */ color: rgb(27, 52, 111);
/* oklch */ color: oklch(34.2% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#646b99',
    500: '#1b346f',
    950: '#000000',
  },
}
SCSS
$custom: #1b346f;
$custom-light: #646b99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b346f",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 222.143,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34177,
    "c": 0.10704,
    "h": 264.2
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#1B346F
secondary
#A48742
accent
#B444E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B346F

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

Preview Lab → · Contrast checker → · Palette generator →

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