#1B267E#1B267E

#1B267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.147 H 270.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B267E
RGBrgb(27, 38, 126)
HSLhsl(233, 65%, 30%)
HSVhsv(233, 79%, 49%)
CMYKcmyk(78.6%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.54, 28.72, -50.84)
CIE-LCHlch(20.54, 58.39, 299.46°)
OKLaboklab(32.66% 0.0002 -0.1471)
OKLCHoklch(32.66% 0.147 270.1)
XYZxyz(4.9097, 3.1251, 20.0791)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267E #7E731B
analogous
#1B587E #1B267E #411B7E
triadic
#1B267E #7E1B26 #267E1B
tetradic
#1B267E #7E1B58 #7E731B #1B7E41
square
#1B267E #7E1B58 #7E731B #1B7E41
split-complementary
#1B267E #7E411B #587E1B
monochromatic
#050819 #10174C #1B267E #2635B0 #3E4FD6

Accessibility & contrast

On white

12.92
#1B267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B267E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267E#FFFFFF#000000##FFFFFF
##1B267E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b267e;
/* rgb */ color: rgb(27, 38, 126);
/* oklch */ color: oklch(32.7% 0.147 270.1);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1b267e',
    950: '#000000',
  },
}
SCSS
$custom: #1b267e;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267e",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 233.333,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.14713,
    "h": 270.1
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#1B267E
secondary
#B2A643
accent
#D540E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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