#1B294C#1B294C

#1B294C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.067 H 265.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#1B294C
RGBrgb(27, 41, 76)
HSLhsl(223, 48%, 20%)
HSVhsv(223, 64%, 30%)
CMYKcmyk(64.5%, 46.1%, 0%, 70.2%)
CIE-LABlab(17.18, 6.64, -23.49)
CIE-LCHlch(17.18, 24.41, 285.78°)
OKLaboklab(28.83% -0.0048 -0.0668)
OKLCHoklch(28.83% 0.067 265.9)
XYZxyz(2.5490, 2.3405, 7.1535)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B294C #4C3E1B
analogous
#1B414C #1B294C #251B4C
triadic
#1B294C #4C1B29 #294C1B
tetradic
#1B294C #4C1B41 #4C3E1B #1B4C25
square
#1B294C #4C1B41 #4C3E1B #1B4C25
split-complementary
#1B294C #4C251B #414C1B
monochromatic
#080C17 #0B111F #1B294C #2B4179 #3B5AA6

Accessibility & contrast

On white

14.30
#1B294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1B294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B294C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B294C#FFFFFF#000000##FFFFFF
##1B294C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b294c;
/* rgb */ color: rgb(27, 41, 76);
/* oklch */ color: oklch(28.8% 0.067 265.9);
Tailwind
colors: {
  custom: {
    50: '#5c627e',
    500: '#1b294c',
    950: '#000000',
  },
}
SCSS
$custom: #1b294c;
$custom-light: #5c627e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b294c",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 222.857,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.06697,
    "h": 265.9
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#1B294C
secondary
#826F41
accent
#B151D7
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1B294C

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

Preview Lab → · Contrast checker → · Palette generator →

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