#1B2E8F#1B2E8F

#1B2E8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.161 H 268.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1B2E8F
RGBrgb(27, 46, 143)
HSLhsl(230, 68%, 33%)
HSVhsv(230, 81%, 56%)
CMYKcmyk(81.1%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.22, 29.88, -55.44)
CIE-LCHlch(24.22, 62.98, 298.32°)
OKLaboklab(35.86% -0.0056 -0.1605)
OKLCHoklch(35.86% 0.161 268)
XYZxyz(6.3852, 4.1694, 26.4495)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E8F #8F7C1B
analogous
#1B688F #1B2E8F #421B8F
triadic
#1B2E8F #8F1B2E #2E8F1B
tetradic
#1B2E8F #8F1B68 #8F7C1B #1B8F42
square
#1B2E8F #8F1B68 #8F7C1B #1B8F42
split-complementary
#1B2E8F #8F421B #688F1B
monochromatic
#080D28 #111D5C #1B2E8F #253FC2 #4860DC

Accessibility & contrast

On white

11.45
#1B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E8F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E8F#FFFFFF#000000##FFFFFF
##1B2E8F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2e8f;
/* rgb */ color: rgb(27, 46, 143);
/* oklch */ color: oklch(35.9% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1b2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e8f",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 230.172,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.16062,
    "h": 268
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#1B2E8F
secondary
#BEAB48
accent
#CF3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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