#1B2B6F#1B2B6F

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

Color values

HEX#1B2B6F
RGBrgb(27, 43, 111)
HSLhsl(229, 61%, 27%)
HSVhsv(229, 76%, 44%)
CMYKcmyk(75.7%, 61.3%, 0%, 56.5%)
CIE-LABlab(20.47, 19.34, -41.36)
CIE-LCHlch(20.47, 45.66, 295.06°)
OKLaboklab(32.18% -0.0028 -0.1193)
OKLCHoklch(32.18% 0.119 268.6)
XYZxyz(4.1841, 3.1080, 15.4152)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B6F #6F5F1B
analogous
#1B556F #1B2B6F #351B6F
triadic
#1B2B6F #6F1B2B #2B6F1B
tetradic
#1B2B6F #6F1B55 #6F5F1B #1B6F35
square
#1B2B6F #6F1B55 #6F5F1B #1B6F35
split-complementary
#1B2B6F #6F351B #556F1B
monochromatic
#060A19 #0F183E #1B2B6F #273EA0 #3653CE

Accessibility & contrast

On white

12.95
#1B2B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2B6F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B6F#FFFFFF#000000##FFFFFF
##1B2B6F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b6f;
/* rgb */ color: rgb(27, 43, 111);
/* oklch */ color: oklch(32.2% 0.119 268.6);
Tailwind
colors: {
  custom: {
    50: '#656499',
    500: '#1b2b6f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b6f;
$custom-light: #656499;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b6f",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 228.571,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32178,
    "c": 0.11932,
    "h": 268.6
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B2B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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