#1B266D#1B266D

#1B266D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.123 H 270.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1B266D
RGBrgb(27, 38, 109)
HSLhsl(232, 60%, 27%)
HSVhsv(232, 75%, 43%)
CMYKcmyk(75.2%, 65.1%, 0%, 57.3%)
CIE-LABlab(18.90, 22.10, -42.63)
CIE-LCHlch(18.90, 48.01, 297.40°)
OKLaboklab(30.96% 0.0012 -0.1231)
OKLCHoklch(30.96% 0.123 270.6)
XYZxyz(3.9045, 2.7230, 14.7848)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B266D #6D621B
analogous
#1B4F6D #1B266D #391B6D
triadic
#1B266D #6D1B26 #266D1B
tetradic
#1B266D #6D1B4F #6D621B #1B6D39
square
#1B266D #6D1B4F #6D621B #1B6D39
split-complementary
#1B266D #6D391B #4F6D1B
monochromatic
#060919 #0F153C #1B266D #27379E #354ACD

Accessibility & contrast

On white

13.60
#1B266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B266D
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B266D#FFFFFF#000000##FFFFFF
##1B266D1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b266d;
/* rgb */ color: rgb(27, 38, 109);
/* oklch */ color: oklch(31.0% 0.123 270.6);
Tailwind
colors: {
  custom: {
    50: '#646098',
    500: '#1b266d',
    950: '#000000',
  },
}
SCSS
$custom: #1b266d;
$custom-light: #646098;
$custom-dark: #000000;
JSON
{
  "hex": "#1b266d",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 231.951,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30955,
    "c": 0.12309,
    "h": 270.6
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#1B266D
secondary
#A29542
accent
#CE44E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1B266D

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

Preview Lab → · Contrast checker → · Palette generator →

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