#1B2E6B#1B2E6B

#1B2E6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.109 H 267.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2E6B
RGBrgb(27, 46, 107)
HSLhsl(226, 60%, 26%)
HSVhsv(226, 75%, 42%)
CMYKcmyk(74.8%, 57%, 0%, 58%)
CIE-LABlab(21.01, 15.57, -37.89)
CIE-LCHlch(21.01, 40.97, 292.33°)
OKLaboklab(32.48% -0.0056 -0.1091)
OKLCHoklch(32.48% 0.109 267)
XYZxyz(4.0819, 3.2481, 14.3189)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E6B #6B581B
analogous
#1B566B #1B2E6B #301B6B
triadic
#1B2E6B #6B1B2E #2E6B1B
tetradic
#1B2E6B #6B1B56 #6B581B #1B6B30
square
#1B2E6B #6B1B56 #6B581B #1B6B30
split-complementary
#1B2E6B #6B301B #566B1B
monochromatic
#060B18 #0F193A #1B2E6B #27439C #3558CC

Accessibility & contrast

On white

12.73
#1B2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B2E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E6B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E6B#FFFFFF#000000##FFFFFF
##1B2E6B1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b2e6b;
/* rgb */ color: rgb(27, 46, 107);
/* oklch */ color: oklch(32.5% 0.109 267.0);
Tailwind
colors: {
  custom: {
    50: '#636696',
    500: '#1b2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e6b;
$custom-light: #636696;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e6b",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 225.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32479,
    "c": 0.10921,
    "h": 267
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1B2E6B
secondary
#A08A42
accent
#BD45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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