#1B267F#1B267F

#1B267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 270.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1B267F
RGBrgb(27, 38, 127)
HSLhsl(233, 65%, 30%)
HSVhsv(233, 79%, 50%)
CMYKcmyk(78.7%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.64, 29.10, -51.31)
CIE-LCHlch(20.64, 58.99, 299.56°)
OKLaboklab(32.76% 0.0001 -0.1485)
OKLCHoklch(32.76% 0.149 270)
XYZxyz(4.9746, 3.1510, 20.4206)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267F #7F741B
analogous
#1B587F #1B267F #421B7F
triadic
#1B267F #7F1B26 #267F1B
tetradic
#1B267F #7F1B58 #7F741B #1B7F42
square
#1B267F #7F1B58 #7F741B #1B7F42
split-complementary
#1B267F #7F421B #587F1B
monochromatic
#06081A #10174D #1B267F #2635B1 #3E4FD6

Accessibility & contrast

On white

12.88
#1B267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B267F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267F#FFFFFF#000000##FFFFFF
##1B267F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b267f;
/* rgb */ color: rgb(27, 38, 127);
/* oklch */ color: oklch(32.8% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#6960a5',
    500: '#1b267f',
    950: '#000000',
  },
}
SCSS
$custom: #1b267f;
$custom-light: #6960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267f",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 233.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32763,
    "c": 0.1485,
    "h": 270
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B267F

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

Preview Lab → · Contrast checker → · Palette generator →

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