#1B2F67#1B2F67

#1B2F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.102 H 266.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2F67
RGBrgb(27, 47, 103)
HSLhsl(224, 58%, 25%)
HSVhsv(224, 74%, 40%)
CMYKcmyk(73.8%, 54.4%, 0%, 59.6%)
CIE-LABlab(21.00, 13.21, -35.32)
CIE-LCHlch(21.00, 37.71, 290.51°)
OKLaboklab(32.37% -0.007 -0.1015)
OKLCHoklch(32.37% 0.102 266.1)
XYZxyz(3.9158, 3.2449, 13.2493)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F67 #67531B
analogous
#1B5567 #1B2F67 #2D1B67
triadic
#1B2F67 #671B2F #2F671B
tetradic
#1B2F67 #671B55 #67531B #1B672D
square
#1B2F67 #671B55 #67531B #1B672D
split-complementary
#1B2F67 #672D1B #55671B
monochromatic
#060B18 #0E1937 #1B2F67 #284597 #345BC8

Accessibility & contrast

On white

12.73
#1B2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F67
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F67#FFFFFF#000000##FFFFFF
##1B2F671.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3669
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2f67;
/* rgb */ color: rgb(27, 47, 103);
/* oklch */ color: oklch(32.4% 0.102 266.1);
Tailwind
colors: {
  custom: {
    50: '#626793',
    500: '#1b2f67',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f67;
$custom-light: #626793;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f67",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 224.211,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3237,
    "c": 0.1017,
    "h": 266.1
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#1B2F67
secondary
#9C8442
accent
#B946E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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