#1B294D#1B294D

#1B294D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.069 H 266.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1B294D
RGBrgb(27, 41, 77)
HSLhsl(223, 48%, 20%)
HSVhsv(223, 65%, 30%)
CMYKcmyk(64.9%, 46.8%, 0%, 69.8%)
CIE-LABlab(17.25, 7.04, -24.07)
CIE-LCHlch(17.25, 25.07, 286.30°)
OKLaboklab(28.9% -0.0045 -0.0685)
OKLCHoklch(28.9% 0.069 266.2)
XYZxyz(2.5840, 2.3545, 7.3380)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B294D #4D3F1B
analogous
#1B424D #1B294D #261B4D
triadic
#1B294D #4D1B29 #294D1B
tetradic
#1B294D #4D1B42 #4D3F1B #1B4D26
square
#1B294D #4D1B42 #4D3F1B #1B4D26
split-complementary
#1B294D #4D261B #424D1B
monochromatic
#080C17 #0B1120 #1B294D #2B417A #3B59A8

Accessibility & contrast

On white

14.28
#1B294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B294D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B294D#FFFFFF#000000##FFFFFF
##1B294D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#12284C
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b294d;
/* rgb */ color: rgb(27, 41, 77);
/* oklch */ color: oklch(28.9% 0.069 266.2);
Tailwind
colors: {
  custom: {
    50: '#5d627f',
    500: '#1b294d',
    950: '#000000',
  },
}
SCSS
$custom: #1b294d;
$custom-light: #5d627f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b294d",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 223.2,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28905,
    "c": 0.06863,
    "h": 266.2
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#1B294D
secondary
#837041
accent
#B250D8
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1B294D

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

Preview Lab → · Contrast checker → · Palette generator →

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