#1B298D#1B298D

#1B298D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.164 H 269.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1B298D
RGBrgb(27, 41, 141)
HSLhsl(233, 68%, 33%)
HSVhsv(233, 81%, 55%)
CMYKcmyk(80.9%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.80, 32.42, -56.54)
CIE-LCHlch(22.80, 65.18, 299.83°)
OKLaboklab(34.76% -0.0029 -0.1638)
OKLCHoklch(34.76% 0.164 269)
XYZxyz(6.0510, 3.7413, 25.5974)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B298D #8D7F1B
analogous
#1B628D #1B298D #461B8D
triadic
#1B298D #8D1B29 #298D1B
tetradic
#1B298D #8D1B62 #8D7F1B #1B8D46
square
#1B298D #8D1B62 #8D7F1B #1B8D46
split-complementary
#1B298D #8D461B #628D1B
monochromatic
#070B26 #111A5A #1B298D #2538C0 #4759DC

Accessibility & contrast

On white

12.01
#1B298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B298D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B298D#FFFFFF#000000##FFFFFF
##1B298D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b298d;
/* rgb */ color: rgb(27, 41, 141);
/* oklch */ color: oklch(34.8% 0.164 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d63af',
    500: '#1b298d',
    950: '#000000',
  },
}
SCSS
$custom: #1b298d;
$custom-light: #6d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b298d",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 232.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.16379,
    "h": 269
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#1B298D
secondary
#BDAF46
accent
#D53DEB
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1B298D

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

Preview Lab → · Contrast checker → · Palette generator →

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