#1B296E#1B296E

#1B296E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.121 H 269.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1B296E
RGBrgb(27, 41, 110)
HSLhsl(230, 61%, 27%)
HSVhsv(230, 75%, 43%)
CMYKcmyk(75.5%, 62.7%, 0%, 56.9%)
CIE-LABlab(19.82, 20.37, -41.77)
CIE-LCHlch(19.82, 46.47, 295.99°)
OKLaboklab(31.67% -0.0012 -0.1205)
OKLCHoklch(31.67% 0.121 269.4)
XYZxyz(4.0584, 2.9443, 15.1032)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296E #6E601B
analogous
#1B536E #1B296E #371B6E
triadic
#1B296E #6E1B29 #296E1B
tetradic
#1B296E #6E1B53 #6E601B #1B6E37
square
#1B296E #6E1B53 #6E601B #1B6E37
split-complementary
#1B296E #6E371B #536E1B
monochromatic
#060919 #0F173D #1B296E #273B9F #364FCE

Accessibility & contrast

On white

13.22
#1B296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B296E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296E#FFFFFF#000000##FFFFFF
##1B296E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b296e;
/* rgb */ color: rgb(27, 41, 110);
/* oklch */ color: oklch(31.7% 0.121 269.4);
Tailwind
colors: {
  custom: {
    50: '#646298',
    500: '#1b296e',
    950: '#000000',
  },
}
SCSS
$custom: #1b296e;
$custom-light: #646298;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296e",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 229.88,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31665,
    "c": 0.12055,
    "h": 269.4
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#1B296E
secondary
#A39342
accent
#C944E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B296E

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

Preview Lab → · Contrast checker → · Palette generator →

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