#1B267B#1B267B

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

Color values

HEX#1B267B
RGBrgb(27, 38, 123)
HSLhsl(233, 64%, 29%)
HSVhsv(233, 78%, 48%)
CMYKcmyk(78%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.24, 27.57, -49.43)
CIE-LCHlch(20.24, 56.60, 299.15°)
OKLaboklab(32.35% 0.0004 -0.143)
OKLCHoklch(32.35% 0.143 270.2)
XYZxyz(4.7190, 3.0488, 19.0748)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267B #7B701B
analogous
#1B567B #1B267B #401B7B
triadic
#1B267B #7B1B26 #267B1B
tetradic
#1B267B #7B1B56 #7B701B #1B7B40
square
#1B267B #7B1B56 #7B701B #1B7B40
split-complementary
#1B267B #7B401B #567B1B
monochromatic
#060819 #101649 #1B267B #2636AD #3C4ED4

Accessibility & contrast

On white

13.05
#1B267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B267B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267B#FFFFFF#000000##FFFFFF
##1B267B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b267b;
/* rgb */ color: rgb(27, 38, 123);
/* oklch */ color: oklch(32.4% 0.143 270.2);
Tailwind
colors: {
  custom: {
    50: '#6860a2',
    500: '#1b267b',
    950: '#000000',
  },
}
SCSS
$custom: #1b267b;
$custom-light: #6860a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267b",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 233.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.143,
    "h": 270.2
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#1B267B
secondary
#AFA343
accent
#D441E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B267B

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

Preview Lab → · Contrast checker → · Palette generator →

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