#1B266E#1B266E

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

Color values

HEX#1B266E
RGBrgb(27, 38, 110)
HSLhsl(232, 61%, 27%)
HSVhsv(232, 75%, 43%)
CMYKcmyk(75.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(18.99, 22.49, -43.13)
CIE-LCHlch(18.99, 48.64, 297.55°)
OKLaboklab(31.05% 0.0012 -0.1245)
OKLCHoklch(31.05% 0.125 270.6)
XYZxyz(3.9586, 2.7446, 15.0700)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B266E #6E631B
analogous
#1B506E #1B266E #3A1B6E
triadic
#1B266E #6E1B26 #266E1B
tetradic
#1B266E #6E1B50 #6E631B #1B6E3A
square
#1B266E #6E1B50 #6E631B #1B6E3A
split-complementary
#1B266E #6E3A1B #506E1B
monochromatic
#060819 #0F153D #1B266E #27379F #364ACE

Accessibility & contrast

On white

13.56
#1B266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B266E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B266E#FFFFFF#000000##FFFFFF
##1B266E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b266e;
/* rgb */ color: rgb(27, 38, 110);
/* oklch */ color: oklch(31.1% 0.125 270.6);
Tailwind
colors: {
  custom: {
    50: '#656098',
    500: '#1b266e',
    950: '#000000',
  },
}
SCSS
$custom: #1b266e;
$custom-light: #656098;
$custom-dark: #000000;
JSON
{
  "hex": "#1b266e",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 232.048,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.12455,
    "h": 270.6
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#1B266E
secondary
#A39642
accent
#CF44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1B266E

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

Preview Lab → · Contrast checker → · Palette generator →

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