#1B2267#1B2267

#1B2267 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.120 H 272.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#1B2267
RGBrgb(27, 34, 103)
HSLhsl(234, 58%, 25%)
HSVhsv(234, 74%, 40%)
CMYKcmyk(73.8%, 67%, 0%, 59.6%)
CIE-LABlab(17.25, 22.55, -41.40)
CIE-LCHlch(17.25, 47.15, 298.58°)
OKLaboklab(29.57% 0.0047 -0.1195)
OKLCHoklch(29.57% 0.12 272.2)
XYZxyz(3.4714, 2.3560, 13.1011)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2267 #67601B
analogous
#1B4867 #1B2267 #3A1B67
triadic
#1B2267 #671B22 #22671B
tetradic
#1B2267 #671B48 #67601B #1B673A
square
#1B2267 #671B48 #67601B #1B673A
split-complementary
#1B2267 #673A1B #48671B
monochromatic
#060818 #0E1237 #1B2267 #283297 #3442C8

Accessibility & contrast

On white

14.27
#1B2267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1B2267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2267
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2267#FFFFFF#000000##FFFFFF
##1B22671.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2267;
/* rgb */ color: rgb(27, 34, 103);
/* oklch */ color: oklch(29.6% 0.120 272.2);
Tailwind
colors: {
  custom: {
    50: '#635d93',
    500: '#1b2267',
    950: '#000000',
  },
}
SCSS
$custom: #1b2267;
$custom-light: #635d93;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2267",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 234.474,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29572,
    "c": 0.11962,
    "h": 272.2
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#1B2267
secondary
#9C9442
accent
#D346E2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1B2267

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

Preview Lab → · Contrast checker → · Palette generator →

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