#1B298A#1B298A

#1B298A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.160 H 269.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1B298A
RGBrgb(27, 41, 138)
HSLhsl(232, 67%, 32%)
HSVhsv(232, 80%, 54%)
CMYKcmyk(80.4%, 70.3%, 0%, 45.9%)
CIE-LABlab(22.49, 31.29, -55.18)
CIE-LCHlch(22.49, 63.44, 299.56°)
OKLaboklab(34.45% -0.0026 -0.1598)
OKLCHoklch(34.45% 0.16 269.1)
XYZxyz(5.8308, 3.6532, 24.4377)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B298A #8A7C1B
analogous
#1B618A #1B298A #441B8A
triadic
#1B298A #8A1B29 #298A1B
tetradic
#1B298A #8A1B61 #8A7C1B #1B8A44
square
#1B298A #8A1B61 #8A7C1B #1B8A44
split-complementary
#1B298A #8A441B #618A1B
monochromatic
#070B24 #111A57 #1B298A #2538BD #4558DB

Accessibility & contrast

On white

12.13
#1B298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B298A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B298A#FFFFFF#000000##FFFFFF
##1B298A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b298a;
/* rgb */ color: rgb(27, 41, 138);
/* oklch */ color: oklch(34.4% 0.160 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c63ad',
    500: '#1b298a',
    950: '#000000',
  },
}
SCSS
$custom: #1b298a;
$custom-light: #6c63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b298a",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 232.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.15981,
    "h": 269.1
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1B298A
secondary
#BCAD45
accent
#D43EEA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B298A

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

Preview Lab → · Contrast checker → · Palette generator →

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