#1B2F4E#1B2F4E

#1B2F4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.062 H 258.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2F4E
RGBrgb(27, 47, 78)
HSLhsl(216, 49%, 21%)
HSVhsv(216, 65%, 31%)
CMYKcmyk(65.4%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.29, 3.10, -21.50)
CIE-LCHlch(19.29, 21.72, 278.19°)
OKLaboklab(30.51% -0.012 -0.0609)
OKLCHoklch(30.51% 0.062 258.9)
XYZxyz(2.8432, 2.8159, 7.5999)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F4E #4E3A1B
analogous
#1B484E #1B2F4E #211B4E
triadic
#1B2F4E #4E1B2F #2F4E1B
tetradic
#1B2F4E #4E1B48 #4E3A1B #1B4E21
square
#1B2F4E #4E1B48 #4E3A1B #1B4E21
split-complementary
#1B2F4E #4E211B #484E1B
monochromatic
#080E17 #0B1421 #1B2F4E #2B4A7B #3A66A9

Accessibility & contrast

On white

13.43
#1B2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F4E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F4E#FFFFFF#000000##FFFFFF
##1B2F4E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1B2D4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b2f4e;
/* rgb */ color: rgb(27, 47, 78);
/* oklch */ color: oklch(30.5% 0.062 258.9);
Tailwind
colors: {
  custom: {
    50: '#5d6780',
    500: '#1b2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f4e;
$custom-light: #5d6780;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f4e",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 216.471,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.06207,
    "h": 258.9
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#1B2F4E
secondary
#846A41
accent
#A350D8
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1B2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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