#1B2A64#1B2A64

#1B2A64 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.104 H 268.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1B2A64
RGBrgb(27, 42, 100)
HSLhsl(228, 57%, 25%)
HSVhsv(228, 73%, 39%)
CMYKcmyk(73%, 58%, 0%, 60.8%)
CIE-LABlab(19.26, 15.61, -36.17)
CIE-LCHlch(19.26, 39.39, 293.34°)
OKLaboklab(30.98% -0.0024 -0.104)
OKLCHoklch(30.98% 0.104 268.7)
XYZxyz(3.5794, 2.8087, 12.4076)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A64 #64551B
analogous
#1B4F64 #1B2A64 #301B64
triadic
#1B2A64 #641B2A #2A641B
tetradic
#1B2A64 #641B4F #64551B #1B6430
square
#1B2A64 #641B4F #64551B #1B6430
split-complementary
#1B2A64 #64301B #4F641B
monochromatic
#070A18 #0E1634 #1B2A64 #283E94 #3552C4

Accessibility & contrast

On white

13.45
#1B2A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A64
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A64#FFFFFF#000000##FFFFFF
##1B2A641.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2a64;
/* rgb */ color: rgb(27, 42, 100);
/* oklch */ color: oklch(31.0% 0.104 268.7);
Tailwind
colors: {
  custom: {
    50: '#626391',
    500: '#1b2a64',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a64;
$custom-light: #626391;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a64",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 227.671,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.10408,
    "h": 268.7
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#1B2A64
secondary
#998741
accent
#C147E1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #1B2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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