#1B1675#1B1675

#1B1675 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.153 H 273.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#1B1675
RGBrgb(27, 22, 117)
HSLhsl(243, 68%, 27%)
HSVhsv(243, 81%, 46%)
CMYKcmyk(76.9%, 81.2%, 0%, 54.1%)
CIE-LABlab(15.96, 35.43, -52.64)
CIE-LCHlch(15.96, 63.45, 303.94°)
OKLaboklab(29.09% 0.0099 -0.1523)
OKLCHoklch(29.09% 0.153 273.7)
XYZxyz(3.9487, 2.0908, 17.0216)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1675 #707516
analogous
#164175 #1B1675 #4B1675
triadic
#1B1675 #751B16 #16751B
tetradic
#1B1675 #751641 #707516 #16754B
square
#1B1675 #751641 #707516 #16754B
split-complementary
#1B1675 #754B16 #417516
monochromatic
#06051A #0F0C41 #1B1675 #2720A9 #372ED8

Accessibility & contrast

On white

14.81
#1B1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1B1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1675
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1675#FFFFFF#000000##FFFFFF
##1B16751.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b1675;
/* rgb */ color: rgb(27, 22, 117);
/* oklch */ color: oklch(29.1% 0.153 273.7);
Tailwind
colors: {
  custom: {
    50: '#68559e',
    500: '#1b1675',
    950: '#000000',
  },
}
SCSS
$custom: #1b1675;
$custom-light: #68559e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1675",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 243.158,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.15262,
    "h": 273.7
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#1B1675
secondary
#A5AB3C
accent
#EB3DE2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1675

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

Preview Lab → · Contrast checker → · Palette generator →

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