#1B2A79#1B2A79

#1B2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.135 H 269.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1B2A79
RGBrgb(27, 42, 121)
HSLhsl(230, 64%, 29%)
HSVhsv(230, 78%, 47%)
CMYKcmyk(77.7%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.09, 24.04, -46.76)
CIE-LCHlch(21.09, 52.58, 297.21°)
OKLaboklab(32.92% -0.0021 -0.1351)
OKLCHoklch(32.92% 0.135 269.1)
XYZxyz(4.7300, 3.2689, 18.4671)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A79 #796A1B
analogous
#1B5979 #1B2A79 #3B1B79
triadic
#1B2A79 #791B2A #2A791B
tetradic
#1B2A79 #791B59 #796A1B #1B793B
square
#1B2A79 #791B59 #796A1B #1B793B
split-complementary
#1B2A79 #793B1B #59791B
monochromatic
#060919 #101947 #1B2A79 #263BAB #3B53D3

Accessibility & contrast

On white

12.70
#1B2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A79
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A79#FFFFFF#000000##FFFFFF
##1B2A791.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2a79;
/* rgb */ color: rgb(27, 42, 121);
/* oklch */ color: oklch(32.9% 0.135 269.1);
Tailwind
colors: {
  custom: {
    50: '#6763a0',
    500: '#1b2a79',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a79;
$custom-light: #6763a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a79",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 230.426,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32916,
    "c": 0.13517,
    "h": 269.1
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#1B2A79
secondary
#AD9C43
accent
#CC41E7
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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