#1B2D6B#1B2D6B

#1B2D6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.111 H 267.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#1B2D6B
RGBrgb(27, 45, 107)
HSLhsl(227, 60%, 26%)
HSVhsv(227, 75%, 42%)
CMYKcmyk(74.8%, 57.9%, 0%, 58%)
CIE-LABlab(20.72, 16.29, -38.37)
CIE-LCHlch(20.72, 41.69, 293.00°)
OKLaboklab(32.26% -0.0047 -0.1105)
OKLCHoklch(32.26% 0.111 267.5)
XYZxyz(4.0433, 3.1709, 14.3060)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D6B #6B591B
analogous
#1B556B #1B2D6B #311B6B
triadic
#1B2D6B #6B1B2D #2D6B1B
tetradic
#1B2D6B #6B1B55 #6B591B #1B6B31
square
#1B2D6B #6B1B55 #6B591B #1B6B31
split-complementary
#1B2D6B #6B311B #556B1B
monochromatic
#060A18 #0F183A #1B2D6B #27429C #3557CC

Accessibility & contrast

On white

12.85
#1B2D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2D6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D6B
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D6B#FFFFFF#000000##FFFFFF
##1B2D6B1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2d6b;
/* rgb */ color: rgb(27, 45, 107);
/* oklch */ color: oklch(32.3% 0.111 267.5);
Tailwind
colors: {
  custom: {
    50: '#636596',
    500: '#1b2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d6b;
$custom-light: #636596;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d6b",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 226.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32256,
    "c": 0.11059,
    "h": 267.5
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#1B2D6B
secondary
#A08B42
accent
#BF45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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