#1B267A#1B267A

#1B267A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.142 H 270.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1B267A
RGBrgb(27, 38, 122)
HSLhsl(233, 64%, 29%)
HSVhsv(233, 78%, 48%)
CMYKcmyk(77.9%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.14, 27.19, -48.95)
CIE-LCHlch(20.14, 56.00, 299.04°)
OKLaboklab(32.25% 0.0005 -0.1416)
OKLCHoklch(32.25% 0.142 270.2)
XYZxyz(4.6568, 3.0239, 18.7468)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267A #7A6F1B
analogous
#1B567A #1B267A #401B7A
triadic
#1B267A #7A1B26 #267A1B
tetradic
#1B267A #7A1B56 #7A6F1B #1B7A40
square
#1B267A #7A1B56 #7A6F1B #1B7A40
split-complementary
#1B267A #7A401B #567A1B
monochromatic
#060819 #101648 #1B267A #2636AC #3C4DD4

Accessibility & contrast

On white

13.09
#1B267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B267A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267A#FFFFFF#000000##FFFFFF
##1B267A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b267a;
/* rgb */ color: rgb(27, 38, 122);
/* oklch */ color: oklch(32.2% 0.142 270.2);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1b267a',
    950: '#000000',
  },
}
SCSS
$custom: #1b267a;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267a",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 233.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32247,
    "c": 0.14161,
    "h": 270.2
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#1B267A
secondary
#AEA243
accent
#D441E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B267A

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

Preview Lab → · Contrast checker → · Palette generator →

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