#1B2679#1B2679

#1B2679 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.140 H 270.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1B2679
RGBrgb(27, 38, 121)
HSLhsl(233, 64%, 29%)
HSVhsv(233, 78%, 47%)
CMYKcmyk(77.7%, 68.6%, 0%, 52.5%)
CIE-LABlab(20.04, 26.80, -48.48)
CIE-LCHlch(20.04, 55.39, 298.93°)
OKLaboklab(32.15% 0.0006 -0.1402)
OKLCHoklch(32.15% 0.14 270.2)
XYZxyz(4.5951, 2.9992, 18.4222)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2679 #796E1B
analogous
#1B5579 #1B2679 #3F1B79
triadic
#1B2679 #791B26 #26791B
tetradic
#1B2679 #791B55 #796E1B #1B793F
square
#1B2679 #791B55 #796E1B #1B793F
split-complementary
#1B2679 #793F1B #55791B
monochromatic
#060819 #101647 #1B2679 #2636AB #3B4DD3

Accessibility & contrast

On white

13.13
#1B2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2679
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2679#FFFFFF#000000##FFFFFF
##1B26791.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2679;
/* rgb */ color: rgb(27, 38, 121);
/* oklch */ color: oklch(32.1% 0.140 270.2);
Tailwind
colors: {
  custom: {
    50: '#6860a1',
    500: '#1b2679',
    950: '#000000',
  },
}
SCSS
$custom: #1b2679;
$custom-light: #6860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2679",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 232.979,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32145,
    "c": 0.14022,
    "h": 270.2
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#1B2679
secondary
#ADA143
accent
#D341E7
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2679

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

Preview Lab → · Contrast checker → · Palette generator →

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