#1B2E8D#1B2E8D

#1B2E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.158 H 268.0°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1B2E8D
RGBrgb(27, 46, 141)
HSLhsl(230, 68%, 33%)
HSVhsv(230, 81%, 55%)
CMYKcmyk(80.9%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.03, 29.11, -54.52)
CIE-LCHlch(24.03, 61.80, 298.10°)
OKLaboklab(35.66% -0.0055 -0.1578)
OKLCHoklch(35.66% 0.158 268)
XYZxyz(6.2350, 4.1094, 25.6587)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E8D #8D7A1B
analogous
#1B678D #1B2E8D #411B8D
triadic
#1B2E8D #8D1B2E #2E8D1B
tetradic
#1B2E8D #8D1B67 #8D7A1B #1B8D41
square
#1B2E8D #8D1B67 #8D7A1B #1B8D41
split-complementary
#1B2E8D #8D411B #678D1B
monochromatic
#070C26 #111D5A #1B2E8D #253FC0 #4760DC

Accessibility & contrast

On white

11.53
#1B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E8D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E8D#FFFFFF#000000##FFFFFF
##1B2E8D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b2e8d;
/* rgb */ color: rgb(27, 46, 141);
/* oklch */ color: oklch(35.7% 0.158 268.0);
Tailwind
colors: {
  custom: {
    50: '#6c66af',
    500: '#1b2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e8d;
$custom-light: #6c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e8d",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 230,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35658,
    "c": 0.15793,
    "h": 268
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#1B2E8D
secondary
#BDAA46
accent
#CE3DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1B2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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