#1B267C#1B267C

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

Color values

HEX#1B267C
RGBrgb(27, 38, 124)
HSLhsl(233, 64%, 30%)
HSVhsv(233, 78%, 49%)
CMYKcmyk(78.2%, 69.4%, 0%, 51.4%)
CIE-LABlab(20.34, 27.96, -49.90)
CIE-LCHlch(20.34, 57.20, 299.26°)
OKLaboklab(32.45% 0.0003 -0.1444)
OKLCHoklch(32.45% 0.144 270.1)
XYZxyz(4.7820, 3.0740, 19.4062)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B267C #7C711B
analogous
#1B577C #1B267C #411B7C
triadic
#1B267C #7C1B26 #267C1B
tetradic
#1B267C #7C1B57 #7C711B #1B7C41
square
#1B267C #7C1B57 #7C711B #1B7C41
split-complementary
#1B267C #7C411B #577C1B
monochromatic
#050819 #10174A #1B267C #2635AE #3D4ED5

Accessibility & contrast

On white

13.00
#1B267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B267C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B267C#FFFFFF#000000##FFFFFF
##1B267C1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b267c;
/* rgb */ color: rgb(27, 38, 124);
/* oklch */ color: oklch(32.5% 0.144 270.1);
Tailwind
colors: {
  custom: {
    50: '#6860a3',
    500: '#1b267c',
    950: '#000000',
  },
}
SCSS
$custom: #1b267c;
$custom-light: #6860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b267c",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 233.196,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32453,
    "c": 0.14438,
    "h": 270.1
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B267C

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

Preview Lab → · Contrast checker → · Palette generator →

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