#1B2E6D#1B2E6D

#1B2E6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.112 H 267.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#1B2E6D
RGBrgb(27, 46, 109)
HSLhsl(226, 60%, 27%)
HSVhsv(226, 75%, 43%)
CMYKcmyk(75.2%, 57.8%, 0%, 57.3%)
CIE-LABlab(21.17, 16.38, -38.93)
CIE-LCHlch(21.17, 42.23, 292.82°)
OKLaboklab(32.65% -0.0055 -0.1121)
OKLCHoklch(32.65% 0.112 267.2)
XYZxyz(4.1883, 3.2907, 14.8795)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E6D #6D5A1B
analogous
#1B576D #1B2E6D #311B6D
triadic
#1B2E6D #6D1B2E #2E6D1B
tetradic
#1B2E6D #6D1B57 #6D5A1B #1B6D31
square
#1B2E6D #6D1B57 #6D5A1B #1B6D31
split-complementary
#1B2E6D #6D311B #576D1B
monochromatic
#060A19 #0F193C #1B2E6D #27439E #3559CD

Accessibility & contrast

On white

12.66
#1B2E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E6D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E6D#FFFFFF#000000##FFFFFF
##1B2E6D1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2e6d;
/* rgb */ color: rgb(27, 46, 109);
/* oklch */ color: oklch(32.7% 0.112 267.2);
Tailwind
colors: {
  custom: {
    50: '#646697',
    500: '#1b2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e6d;
$custom-light: #646697;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e6d",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 226.098,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.11223,
    "h": 267.2
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#1B2E6D
secondary
#A28C42
accent
#BF44E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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