#1B296D#1B296D

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

Color values

HEX#1B296D
RGBrgb(27, 41, 109)
HSLhsl(230, 60%, 27%)
HSVhsv(230, 75%, 43%)
CMYKcmyk(75.2%, 62.4%, 0%, 57.3%)
CIE-LABlab(19.73, 19.97, -41.27)
CIE-LCHlch(19.73, 45.85, 295.82°)
OKLaboklab(31.57% -0.0012 -0.1191)
OKLCHoklch(31.57% 0.119 269.4)
XYZxyz(4.0043, 2.9226, 14.8181)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296D #6D5F1B
analogous
#1B526D #1B296D #361B6D
triadic
#1B296D #6D1B29 #296D1B
tetradic
#1B296D #6D1B52 #6D5F1B #1B6D36
square
#1B296D #6D1B52 #6D5F1B #1B6D36
split-complementary
#1B296D #6D361B #526D1B
monochromatic
#060919 #0F173C #1B296D #273B9E #354FCD

Accessibility & contrast

On white

13.25
#1B296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B296D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296D#FFFFFF#000000##FFFFFF
##1B296D1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b296d;
/* rgb */ color: rgb(27, 41, 109);
/* oklch */ color: oklch(31.6% 0.119 269.4);
Tailwind
colors: {
  custom: {
    50: '#646297',
    500: '#1b296d',
    950: '#000000',
  },
}
SCSS
$custom: #1b296d;
$custom-light: #646297;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296d",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 229.756,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31572,
    "c": 0.11907,
    "h": 269.4
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#1B296D
secondary
#A29242
accent
#C844E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B296D

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

Preview Lab → · Contrast checker → · Palette generator →

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