#1B296A#1B296A

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

Color values

HEX#1B296A
RGBrgb(27, 41, 106)
HSLhsl(229, 59%, 26%)
HSVhsv(229, 75%, 42%)
CMYKcmyk(74.5%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.47, 18.76, -39.75)
CIE-LCHlch(19.47, 43.95, 295.27°)
OKLaboklab(31.3% -0.0012 -0.1146)
OKLCHoklch(31.3% 0.115 269.4)
XYZxyz(3.8456, 2.8591, 13.9821)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296A #6A5C1B
analogous
#1B506A #1B296A #341B6A
triadic
#1B296A #6A1B29 #296A1B
tetradic
#1B296A #6A1B50 #6A5C1B #1B6A34
square
#1B296A #6A1B50 #6A5C1B #1B6A34
split-complementary
#1B296A #6A341B #506A1B
monochromatic
#060918 #0F1639 #1B296A #273C9B #344FCB

Accessibility & contrast

On white

13.36
#1B296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B296A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296A#FFFFFF#000000##FFFFFF
##1B296A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b296a;
/* rgb */ color: rgb(27, 41, 106);
/* oklch */ color: oklch(31.3% 0.115 269.4);
Tailwind
colors: {
  custom: {
    50: '#636295',
    500: '#1b296a',
    950: '#000000',
  },
}
SCSS
$custom: #1b296a;
$custom-light: #636295;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296a",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 229.367,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.1146,
    "h": 269.4
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#1B296A
secondary
#9F8F42
accent
#C745E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B296A

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

Preview Lab → · Contrast checker → · Palette generator →

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