#1B2E4F#1B2E4F

#1B2E4F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.3% C 0.065 H 260.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1B2E4F
RGBrgb(27, 46, 79)
HSLhsl(218, 49%, 21%)
HSVhsv(218, 66%, 31%)
CMYKcmyk(65.8%, 41.8%, 0%, 69%)
CIE-LABlab(19.02, 4.21, -22.60)
CIE-LCHlch(19.02, 22.99, 280.54°)
OKLaboklab(30.32% -0.0104 -0.0641)
OKLCHoklch(30.32% 0.065 260.8)
XYZxyz(2.8398, 2.7513, 7.7770)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E4F #4F3C1B
analogous
#1B484F #1B2E4F #221B4F
triadic
#1B2E4F #4F1B2E #2E4F1B
tetradic
#1B2E4F #4F1B48 #4F3C1B #1B4F22
square
#1B2E4F #4F1B48 #4F3C1B #1B4F22
split-complementary
#1B2E4F #4F221B #484F1B
monochromatic
#080D17 #0B1321 #1B2E4F #2B497D #3A63AA

Accessibility & contrast

On white

13.54
#1B2E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B2E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E4F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E4F#FFFFFF#000000##FFFFFF
##1B2E4F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2e4f;
/* rgb */ color: rgb(27, 46, 79);
/* oklch */ color: oklch(30.3% 0.065 260.8);
Tailwind
colors: {
  custom: {
    50: '#5d6680',
    500: '#1b2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e4f;
$custom-light: #5d6680;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e4f",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 218.077,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30315,
    "c": 0.06497,
    "h": 260.8
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#1B2E4F
secondary
#856C41
accent
#A64FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1B2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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