#1B296B#1B296B

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

Color values

HEX#1B296B
RGBrgb(27, 41, 107)
HSLhsl(230, 60%, 26%)
HSVhsv(230, 75%, 42%)
CMYKcmyk(74.8%, 61.7%, 0%, 58%)
CIE-LABlab(19.56, 19.16, -40.26)
CIE-LCHlch(19.56, 44.58, 295.46°)
OKLaboklab(31.39% -0.0012 -0.1161)
OKLCHoklch(31.39% 0.116 269.4)
XYZxyz(3.8979, 2.8800, 14.2575)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B296B #6B5D1B
analogous
#1B516B #1B296B #351B6B
triadic
#1B296B #6B1B29 #296B1B
tetradic
#1B296B #6B1B51 #6B5D1B #1B6B35
square
#1B296B #6B1B51 #6B5D1B #1B6B35
split-complementary
#1B296B #6B351B #516B1B
monochromatic
#060918 #0F163A #1B296B #273C9C #354FCC

Accessibility & contrast

On white

13.32
#1B296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B296B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B296B#FFFFFF#000000##FFFFFF
##1B296B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b296b;
/* rgb */ color: rgb(27, 41, 107);
/* oklch */ color: oklch(31.4% 0.116 269.4);
Tailwind
colors: {
  custom: {
    50: '#646296',
    500: '#1b296b',
    950: '#000000',
  },
}
SCSS
$custom: #1b296b;
$custom-light: #646296;
$custom-dark: #000000;
JSON
{
  "hex": "#1b296b",
  "rgb": {
    "r": 27,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 229.5,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.11609,
    "h": 269.4
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#1B296B
secondary
#A09042
accent
#C745E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B296B

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

Preview Lab → · Contrast checker → · Palette generator →

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