#1B264B#1B264B

#1B264B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.070 H 269.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1B264B
RGBrgb(27, 38, 75)
HSLhsl(226, 47%, 20%)
HSVhsv(226, 64%, 29%)
CMYKcmyk(64%, 49.3%, 0%, 70.6%)
CIE-LABlab(16.14, 8.45, -24.47)
CIE-LCHlch(16.14, 25.89, 289.05°)
OKLaboklab(28.01% -0.0011 -0.0697)
OKLCHoklch(28.01% 0.07 269.1)
XYZxyz(2.4147, 2.1270, 6.9386)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B264B #4B401B
analogous
#1B3E4B #1B264B #281B4B
triadic
#1B264B #4B1B26 #264B1B
tetradic
#1B264B #4B1B3E #4B401B #1B4B28
square
#1B264B #4B1B3E #4B401B #1B4B28
split-complementary
#1B264B #4B281B #3E4B1B
monochromatic
#080B17 #0B0F1E #1B264B #2B3D78 #3B54A5

Accessibility & contrast

On white

14.73
#1B264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B264B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B264B#FFFFFF#000000##FFFFFF
##1B264B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#0F264A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b264b;
/* rgb */ color: rgb(27, 38, 75);
/* oklch */ color: oklch(28.0% 0.070 269.1);
Tailwind
colors: {
  custom: {
    50: '#5c607d',
    500: '#1b264b',
    950: '#000000',
  },
}
SCSS
$custom: #1b264b;
$custom-light: #5c607d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b264b",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 226.25,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.28012,
    "c": 0.06972,
    "h": 269.1
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#1B264B
secondary
#817241
accent
#B851D7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1B264B

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

Preview Lab → · Contrast checker → · Palette generator →

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