#1B2D67#1B2D67

#1B2D67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.104 H 267.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1B2D67
RGBrgb(27, 45, 103)
HSLhsl(226, 58%, 25%)
HSVhsv(226, 74%, 40%)
CMYKcmyk(73.8%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.40, 14.65, -36.29)
CIE-LCHlch(20.40, 39.14, 291.99°)
OKLaboklab(31.91% -0.0051 -0.1044)
OKLCHoklch(31.91% 0.104 267.2)
XYZxyz(3.8377, 3.0887, 13.2233)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D67 #67551B
analogous
#1B5367 #1B2D67 #2F1B67
triadic
#1B2D67 #671B2D #2D671B
tetradic
#1B2D67 #671B53 #67551B #1B672F
square
#1B2D67 #671B53 #67551B #1B672F
split-complementary
#1B2D67 #672F1B #53671B
monochromatic
#060B18 #0E1837 #1B2D67 #284297 #3457C8

Accessibility & contrast

On white

12.98
#1B2D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B2D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D67
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D67#FFFFFF#000000##FFFFFF
##1B2D671.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053569
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2d67;
/* rgb */ color: rgb(27, 45, 103);
/* oklch */ color: oklch(31.9% 0.104 267.2);
Tailwind
colors: {
  custom: {
    50: '#626593',
    500: '#1b2d67',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d67;
$custom-light: #626593;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d67",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 225.789,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.10449,
    "h": 267.2
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#1B2D67
secondary
#9C8742
accent
#BD46E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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