#1B2E67#1B2E67

#1B2E67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.103 H 266.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1B2E67
RGBrgb(27, 46, 103)
HSLhsl(225, 58%, 25%)
HSVhsv(225, 74%, 40%)
CMYKcmyk(73.8%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.70, 13.93, -35.81)
CIE-LCHlch(20.70, 38.42, 291.26°)
OKLaboklab(32.14% -0.006 -0.1029)
OKLCHoklch(32.14% 0.103 266.7)
XYZxyz(3.8763, 3.1659, 13.2361)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E67 #67541B
analogous
#1B5467 #1B2E67 #2E1B67
triadic
#1B2E67 #671B2E #2E671B
tetradic
#1B2E67 #671B54 #67541B #1B672E
square
#1B2E67 #671B54 #67541B #1B672E
split-complementary
#1B2E67 #672E1B #54671B
monochromatic
#060B18 #0E1837 #1B2E67 #284497 #3459C8

Accessibility & contrast

On white

12.86
#1B2E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E67
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E67#FFFFFF#000000##FFFFFF
##1B2E671.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093569
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2e67;
/* rgb */ color: rgb(27, 46, 103);
/* oklch */ color: oklch(32.1% 0.103 266.7);
Tailwind
colors: {
  custom: {
    50: '#626693',
    500: '#1b2e67',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e67;
$custom-light: #626693;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e67",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 225,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32141,
    "c": 0.1031,
    "h": 266.7
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#1B2E67
secondary
#9C8642
accent
#BB46E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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