#1B296F#1B296F

#1B296F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.122 H 269.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1B296F
RGBrgb(27, 41, 111)
HSLhsl(230, 61%, 27%)
HSVhsv(230, 76%, 44%)
CMYKcmyk(75.7%, 63.1%, 0%, 56.5%)
CIE-LABlab(19.91, 20.77, -42.27)
CIE-LCHlch(19.91, 47.10, 296.16°)
OKLaboklab(31.76% -0.0012 -0.122)
OKLCHoklch(31.76% 0.122 269.4)
XYZxyz(4.1132, 2.9662, 15.3916)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296F #6F611B
analogous
#1B536F #1B296F #371B6F
triadic
#1B296F #6F1B29 #296F1B
tetradic
#1B296F #6F1B53 #6F611B #1B6F37
square
#1B296F #6F1B53 #6F611B #1B6F37
split-complementary
#1B296F #6F371B #536F1B
monochromatic
#060919 #0F173E #1B296F #273BA0 #3650CE

Accessibility & contrast

On white

13.18
#1B296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B296F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296F#FFFFFF#000000##FFFFFF
##1B296F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b296f;
/* rgb */ color: rgb(27, 41, 111);
/* oklch */ color: oklch(31.8% 0.122 269.4);
Tailwind
colors: {
  custom: {
    50: '#656299',
    500: '#1b296f',
    950: '#000000',
  },
}
SCSS
$custom: #1b296f;
$custom-light: #656299;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296f",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 230,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31759,
    "c": 0.12202,
    "h": 269.4
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B296F

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

Preview Lab → · Contrast checker → · Palette generator →

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