#1B2B6E#1B2B6E

#1B2B6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.118 H 268.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#1B2B6E
RGBrgb(27, 43, 110)
HSLhsl(228, 61%, 27%)
HSVhsv(228, 75%, 43%)
CMYKcmyk(75.5%, 60.9%, 0%, 56.9%)
CIE-LABlab(20.39, 18.94, -40.85)
CIE-LCHlch(20.39, 45.03, 294.87°)
OKLaboklab(32.09% -0.0028 -0.1178)
OKLCHoklch(32.09% 0.118 268.6)
XYZxyz(4.1294, 3.0861, 15.1269)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B6E #6E5E1B
analogous
#1B556E #1B2B6E #351B6E
triadic
#1B2B6E #6E1B2B #2B6E1B
tetradic
#1B2B6E #6E1B55 #6E5E1B #1B6E35
square
#1B2B6E #6E1B55 #6E5E1B #1B6E35
split-complementary
#1B2B6E #6E351B #556E1B
monochromatic
#060A19 #0F183D #1B2B6E #273E9F #3653CE

Accessibility & contrast

On white

12.98
#1B2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B6E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B6E#FFFFFF#000000##FFFFFF
##1B2B6E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2b6e;
/* rgb */ color: rgb(27, 43, 110);
/* oklch */ color: oklch(32.1% 0.118 268.6);
Tailwind
colors: {
  custom: {
    50: '#646498',
    500: '#1b2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b6e;
$custom-light: #646498;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b6e",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 228.434,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32087,
    "c": 0.11783,
    "h": 268.6
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#1B2B6E
secondary
#A39042
accent
#C544E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1B2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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