#1B2E89#1B2E89

#1B2E89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.152 H 268.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1B2E89
RGBrgb(27, 46, 137)
HSLhsl(230, 67%, 32%)
HSVhsv(230, 80%, 54%)
CMYKcmyk(80.3%, 66.4%, 0%, 46.3%)
CIE-LABlab(23.65, 27.56, -52.66)
CIE-LCHlch(23.65, 59.43, 297.63°)
OKLaboklab(35.26% -0.0053 -0.1524)
OKLCHoklch(35.26% 0.152 268)
XYZxyz(5.9428, 3.9925, 24.1195)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E89 #89761B
analogous
#1B6589 #1B2E89 #3F1B89
triadic
#1B2E89 #891B2E #2E891B
tetradic
#1B2E89 #891B65 #89761B #1B893F
square
#1B2E89 #891B65 #89761B #1B893F
split-complementary
#1B2E89 #893F1B #65891B
monochromatic
#070C23 #111D56 #1B2E89 #253FBC #445EDA

Accessibility & contrast

On white

11.68
#1B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E89
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E89#FFFFFF#000000##FFFFFF
##1B2E891.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b2e89;
/* rgb */ color: rgb(27, 46, 137);
/* oklch */ color: oklch(35.3% 0.152 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b66ac',
    500: '#1b2e89',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e89;
$custom-light: #6b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e89",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 229.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35259,
    "c": 0.15248,
    "h": 268
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#1B2E89
secondary
#BCA744
accent
#CC3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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