#1B2E5D#1B2E5D

#1B2E5D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.087 H 265.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1B2E5D
RGBrgb(27, 46, 93)
HSLhsl(223, 55%, 24%)
HSVhsv(223, 71%, 36%)
CMYKcmyk(71%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.95, 9.85, -30.45)
CIE-LCHlch(19.95, 32.00, 287.93°)
OKLaboklab(31.34% -0.0074 -0.0872)
OKLCHoklch(31.34% 0.087 265.2)
XYZxyz(3.4041, 2.9770, 10.7490)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E5D #5D4A1B
analogous
#1B4F5D #1B2E5D #291B5D
triadic
#1B2E5D #5D1B2E #2E5D1B
tetradic
#1B2E5D #5D1B4F #5D4A1B #1B5D29
square
#1B2E5D #5D1B4F #5D4A1B #1B5D29
split-complementary
#1B2E5D #5D291B #4F5D1B
monochromatic
#070C18 #0D172E #1B2E5D #29458C #375DBC

Accessibility & contrast

On white

13.16
#1B2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1B2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E5D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E5D#FFFFFF#000000##FFFFFF
##1B2E5D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#092D5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2e5d;
/* rgb */ color: rgb(27, 46, 93);
/* oklch */ color: oklch(31.3% 0.087 265.2);
Tailwind
colors: {
  custom: {
    50: '#60668b',
    500: '#1b2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e5d;
$custom-light: #60668b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e5d",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 222.727,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.08747,
    "h": 265.2
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#1B2E5D
secondary
#937B41
accent
#B349DE
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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