#1B2E94#1B2E94

#1B2E94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.167 H 268.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1B2E94
RGBrgb(27, 46, 148)
HSLhsl(231, 69%, 34%)
HSVhsv(231, 82%, 58%)
CMYKcmyk(81.8%, 68.9%, 0%, 42%)
CIE-LABlab(24.72, 31.79, -57.72)
CIE-LCHlch(24.72, 65.89, 298.84°)
OKLaboklab(36.37% -0.0059 -0.1672)
OKLCHoklch(36.37% 0.167 268)
XYZxyz(6.7724, 4.3243, 28.4890)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E94 #94811B
analogous
#1B6A94 #1B2E94 #451B94
triadic
#1B2E94 #941B2E #2E941B
tetradic
#1B2E94 #941B6A #94811B #1B9445
square
#1B2E94 #941B6A #94811B #1B9445
split-complementary
#1B2E94 #94451B #6A941B
monochromatic
#080E2C #121E60 #1B2E94 #243EC8 #4B62DE

Accessibility & contrast

On white

11.26
#1B2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1B2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E94
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E94#FFFFFF#000000##FFFFFF
##1B2E941.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b2e94;
/* rgb */ color: rgb(27, 46, 148);
/* oklch */ color: oklch(36.4% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#6e67b4',
    500: '#1b2e94',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e94;
$custom-light: #6e67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e94",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 230.579,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.16729,
    "h": 268
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#1B2E94
secondary
#C0AE4B
accent
#D03CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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