#1B2B67#1B2B67

#1B2B67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.107 H 268.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1B2B67
RGBrgb(27, 43, 103)
HSLhsl(227, 58%, 25%)
HSVhsv(227, 74%, 40%)
CMYKcmyk(73.8%, 58.3%, 0%, 59.6%)
CIE-LABlab(19.80, 16.10, -37.26)
CIE-LCHlch(19.80, 40.59, 293.37°)
OKLaboklab(31.47% -0.0032 -0.1072)
OKLCHoklch(31.47% 0.107 268.3)
XYZxyz(3.7632, 2.9397, 13.1984)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B67 #67571B
analogous
#1B5167 #1B2B67 #311B67
triadic
#1B2B67 #671B2B #2B671B
tetradic
#1B2B67 #671B51 #67571B #1B6731
square
#1B2B67 #671B51 #67571B #1B6731
split-complementary
#1B2B67 #67311B #51671B
monochromatic
#060A18 #0E1737 #1B2B67 #283F97 #3453C8

Accessibility & contrast

On white

13.22
#1B2B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B67
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B67#FFFFFF#000000##FFFFFF
##1B2B671.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2b67;
/* rgb */ color: rgb(27, 43, 103);
/* oklch */ color: oklch(31.5% 0.107 268.3);
Tailwind
colors: {
  custom: {
    50: '#626393',
    500: '#1b2b67',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b67;
$custom-light: #626393;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b67",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 227.368,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.10728,
    "h": 268.3
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#1B2B67
secondary
#9C8942
accent
#C146E2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B2B67

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

Preview Lab → · Contrast checker → · Palette generator →

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