#1B2B6D#1B2B6D

#1B2B6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.116 H 268.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#1B2B6D
RGBrgb(27, 43, 109)
HSLhsl(228, 60%, 27%)
HSVhsv(228, 75%, 43%)
CMYKcmyk(75.2%, 60.6%, 0%, 57.3%)
CIE-LABlab(20.30, 18.53, -40.34)
CIE-LCHlch(20.30, 44.40, 294.67°)
OKLaboklab(32% -0.0029 -0.1163)
OKLCHoklch(32% 0.116 268.6)
XYZxyz(4.0752, 3.0645, 14.8418)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B6D #6D5D1B
analogous
#1B546D #1B2B6D #341B6D
triadic
#1B2B6D #6D1B2B #2B6D1B
tetradic
#1B2B6D #6D1B54 #6D5D1B #1B6D34
square
#1B2B6D #6D1B54 #6D5D1B #1B6D34
split-complementary
#1B2B6D #6D341B #546D1B
monochromatic
#060A19 #0F183C #1B2B6D #273E9E #3553CD

Accessibility & contrast

On white

13.02
#1B2B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B6D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B6D#FFFFFF#000000##FFFFFF
##1B2B6D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2b6d;
/* rgb */ color: rgb(27, 43, 109);
/* oklch */ color: oklch(32.0% 0.116 268.6);
Tailwind
colors: {
  custom: {
    50: '#646497',
    500: '#1b2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b6d;
$custom-light: #646497;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b6d",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 228.293,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31997,
    "c": 0.11635,
    "h": 268.6
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#1B2B6D
secondary
#A28F42
accent
#C444E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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