#1B296C#1B296C

#1B296C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.118 H 269.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1B296C
RGBrgb(27, 41, 108)
HSLhsl(230, 60%, 26%)
HSVhsv(230, 75%, 42%)
CMYKcmyk(75%, 62%, 0%, 57.6%)
CIE-LABlab(19.64, 19.56, -40.76)
CIE-LCHlch(19.64, 45.22, 295.64°)
OKLaboklab(31.48% -0.0012 -0.1176)
OKLCHoklch(31.48% 0.118 269.4)
XYZxyz(3.9508, 2.9012, 14.5362)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296C #6C5E1B
analogous
#1B526C #1B296C #361B6C
triadic
#1B296C #6C1B29 #296C1B
tetradic
#1B296C #6C1B52 #6C5E1B #1B6C36
square
#1B296C #6C1B52 #6C5E1B #1B6C36
split-complementary
#1B296C #6C361B #526C1B
monochromatic
#060918 #0F163B #1B296C #273C9D #354FCC

Accessibility & contrast

On white

13.29
#1B296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B296C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296C#FFFFFF#000000##FFFFFF
##1B296C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b296c;
/* rgb */ color: rgb(27, 41, 108);
/* oklch */ color: oklch(31.5% 0.118 269.4);
Tailwind
colors: {
  custom: {
    50: '#646297',
    500: '#1b296c',
    950: '#000000',
  },
}
SCSS
$custom: #1b296c;
$custom-light: #646297;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296c",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 229.63,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.11758,
    "h": 269.4
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#1B296C
secondary
#A19142
accent
#C845E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B296C

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

Preview Lab → · Contrast checker → · Palette generator →

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