#1B267D#1B267D

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

Color values

HEX#1B267D
RGBrgb(27, 38, 125)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(78.4%, 69.6%, 0%, 51%)
CIE-LABlab(20.44, 28.34, -50.37)
CIE-LCHlch(20.44, 57.80, 299.36°)
OKLaboklab(32.56% 0.0003 -0.1458)
OKLCHoklch(32.56% 0.146 270.1)
XYZxyz(4.8455, 3.0994, 19.7409)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267D #7D721B
analogous
#1B577D #1B267D #411B7D
triadic
#1B267D #7D1B26 #267D1B
tetradic
#1B267D #7D1B57 #7D721B #1B7D41
square
#1B267D #7D1B57 #7D721B #1B7D41
split-complementary
#1B267D #7D411B #577D1B
monochromatic
#050819 #10174B #1B267D #2635AF #3D4ED5

Accessibility & contrast

On white

12.96
#1B267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B267D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267D#FFFFFF#000000##FFFFFF
##1B267D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b267d;
/* rgb */ color: rgb(27, 38, 125);
/* oklch */ color: oklch(32.6% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#6960a4',
    500: '#1b267d',
    950: '#000000',
  },
}
SCSS
$custom: #1b267d;
$custom-light: #6960a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267d",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 233.265,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32556,
    "c": 0.14576,
    "h": 270.1
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#1B267D
secondary
#B1A543
accent
#D540E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B267D

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

Preview Lab → · Contrast checker → · Palette generator →

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