#1B2F79#1B2F79

#1B2F79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.129 H 267.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#1B2F79
RGBrgb(27, 47, 121)
HSLhsl(227, 64%, 29%)
HSVhsv(227, 78%, 47%)
CMYKcmyk(77.7%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.46, 20.53, -44.51)
CIE-LCHlch(22.46, 49.02, 294.76°)
OKLaboklab(33.94% -0.0058 -0.1285)
OKLCHoklch(33.94% 0.129 267.4)
XYZxyz(4.9185, 3.6460, 18.5300)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F79 #79651B
analogous
#1B5E79 #1B2F79 #361B79
triadic
#1B2F79 #791B2F #2F791B
tetradic
#1B2F79 #791B5E #79651B #1B7936
square
#1B2F79 #791B5E #79651B #1B7936
split-complementary
#1B2F79 #79361B #5E791B
monochromatic
#060A19 #101C47 #1B2F79 #2642AB #3B5BD3

Accessibility & contrast

On white

12.14
#1B2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B2F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F79
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F79#FFFFFF#000000##FFFFFF
##1B2F791.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2f79;
/* rgb */ color: rgb(27, 47, 121);
/* oklch */ color: oklch(33.9% 0.129 267.4);
Tailwind
colors: {
  custom: {
    50: '#6767a0',
    500: '#1b2f79',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f79;
$custom-light: #6767a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f79",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 227.234,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.12864,
    "h": 267.4
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#1B2F79
secondary
#AD9743
accent
#C341E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1B2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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