#1B294A#1B294A

#1B294A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.064 H 265.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#1B294A
RGBrgb(27, 41, 74)
HSLhsl(222, 47%, 20%)
HSVhsv(222, 64%, 29%)
CMYKcmyk(63.5%, 44.6%, 0%, 71%)
CIE-LABlab(17.05, 5.85, -22.34)
CIE-LCHlch(17.05, 23.09, 284.67°)
OKLaboklab(28.69% -0.0052 -0.0634)
OKLCHoklch(28.69% 0.064 265.3)
XYZxyz(2.4805, 2.3131, 6.7930)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B294A #4A3C1B
analogous
#1B414A #1B294A #251B4A
triadic
#1B294A #4A1B29 #294A1B
tetradic
#1B294A #4A1B41 #4A3C1B #1B4A25
square
#1B294A #4A1B41 #4A3C1B #1B4A25
split-complementary
#1B294A #4A251B #414A1B
monochromatic
#080C16 #0B101D #1B294A #2B4277 #3C5BA4

Accessibility & contrast

On white

14.36
#1B294A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B294A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B294A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B294A#FFFFFF#000000##FFFFFF
##1B294A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b294a;
/* rgb */ color: rgb(27, 41, 74);
/* oklch */ color: oklch(28.7% 0.064 265.3);
Tailwind
colors: {
  custom: {
    50: '#5c627d',
    500: '#1b294a',
    950: '#000000',
  },
}
SCSS
$custom: #1b294a;
$custom-light: #5c627d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b294a",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 74
  },
  "hsl": {
    "h": 222.128,
    "s": 46.535,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.06364,
    "h": 265.3
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#1B294A
secondary
#806D41
accent
#AF52D6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #1B294A

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

Preview Lab → · Contrast checker → · Palette generator →

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