#1B264D#1B264D

#1B264D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.073 H 269.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1B264D
RGBrgb(27, 38, 77)
HSLhsl(227, 48%, 20%)
HSVhsv(227, 65%, 30%)
CMYKcmyk(64.9%, 50.6%, 0%, 69.8%)
CIE-LABlab(16.28, 9.25, -25.61)
CIE-LCHlch(16.28, 27.23, 289.85°)
OKLaboklab(28.16% -0.0007 -0.0731)
OKLCHoklch(28.16% 0.073 269.4)
XYZxyz(2.4842, 2.1549, 7.3048)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B264D #4D421B
analogous
#1B3F4D #1B264D #291B4D
triadic
#1B264D #4D1B26 #264D1B
tetradic
#1B264D #4D1B3F #4D421B #1B4D29
square
#1B264D #4D1B3F #4D421B #1B4D29
split-complementary
#1B264D #4D291B #3F4D1B
monochromatic
#080B17 #0B1020 #1B264D #2B3C7A #3B53A8

Accessibility & contrast

On white

14.68
#1B264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B264D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B264D#FFFFFF#000000##FFFFFF
##1B264D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b264d;
/* rgb */ color: rgb(27, 38, 77);
/* oklch */ color: oklch(28.2% 0.073 269.4);
Tailwind
colors: {
  custom: {
    50: '#5d5f7f',
    500: '#1b264d',
    950: '#000000',
  },
}
SCSS
$custom: #1b264d;
$custom-light: #5d5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b264d",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 226.8,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28163,
    "c": 0.07306,
    "h": 269.4
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#1B264D
secondary
#837441
accent
#BA50D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1B264D

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

Preview Lab → · Contrast checker → · Palette generator →

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