#1B2F89#1B2F89

#1B2F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.151 H 267.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#1B2F89
RGBrgb(27, 47, 137)
HSLhsl(229, 67%, 32%)
HSVhsv(229, 80%, 54%)
CMYKcmyk(80.3%, 65.7%, 0%, 46.3%)
CIE-LABlab(23.91, 26.88, -52.23)
CIE-LCHlch(23.91, 58.74, 297.23°)
OKLaboklab(35.45% -0.0059 -0.1511)
OKLCHoklch(35.45% 0.151 267.8)
XYZxyz(5.9823, 4.0715, 24.1327)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F89 #89751B
analogous
#1B6689 #1B2F89 #3E1B89
triadic
#1B2F89 #891B2F #2F891B
tetradic
#1B2F89 #891B66 #89751B #1B893E
square
#1B2F89 #891B66 #89751B #1B893E
split-complementary
#1B2F89 #893E1B #66891B
monochromatic
#070C23 #111D56 #1B2F89 #2541BC #445FDA

Accessibility & contrast

On white

11.57
#1B2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F89
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F89#FFFFFF#000000##FFFFFF
##1B2F891.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2f89;
/* rgb */ color: rgb(27, 47, 137);
/* oklch */ color: oklch(35.5% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#6b67ac',
    500: '#1b2f89',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f89;
$custom-light: #6b67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f89",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 229.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.15124,
    "h": 267.8
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#1B2F89
secondary
#BCA644
accent
#CB3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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