#1B294F#1B294F

#1B294F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.072 H 266.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#1B294F
RGBrgb(27, 41, 79)
HSLhsl(224, 49%, 21%)
HSVhsv(224, 66%, 31%)
CMYKcmyk(65.8%, 48.1%, 0%, 69%)
CIE-LABlab(17.38, 7.83, -25.21)
CIE-LCHlch(17.38, 26.40, 287.27°)
OKLaboklab(29.05% -0.0041 -0.0718)
OKLCHoklch(29.05% 0.072 266.7)
XYZxyz(2.6557, 2.3832, 7.7157)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B294F #4F411B
analogous
#1B434F #1B294F #271B4F
triadic
#1B294F #4F1B29 #294F1B
tetradic
#1B294F #4F1B43 #4F411B #1B4F27
square
#1B294F #4F1B43 #4F411B #1B4F27
split-complementary
#1B294F #4F271B #434F1B
monochromatic
#080C17 #0B1121 #1B294F #2B417D #3A58AA

Accessibility & contrast

On white

14.22
#1B294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B294F
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B294F#FFFFFF#000000##FFFFFF
##1B294F1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b294f;
/* rgb */ color: rgb(27, 41, 79);
/* oklch */ color: oklch(29.1% 0.072 266.7);
Tailwind
colors: {
  custom: {
    50: '#5d6280',
    500: '#1b294f',
    950: '#000000',
  },
}
SCSS
$custom: #1b294f;
$custom-light: #5d6280;
$custom-dark: #000000;
JSON
{
  "hex": "#1b294f",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 223.846,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29052,
    "c": 0.07195,
    "h": 266.7
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#1B294F
secondary
#857341
accent
#B44FD9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1B294F

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

Preview Lab → · Contrast checker → · Palette generator →

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