#1B3294#1B3294

#1B3294 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.163 H 267.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1B3294
RGBrgb(27, 50, 148)
HSLhsl(229, 69%, 34%)
HSVhsv(229, 82%, 58%)
CMYKcmyk(81.8%, 66.2%, 0%, 42%)
CIE-LABlab(25.72, 29.12, -56.07)
CIE-LCHlch(25.72, 63.19, 297.45°)
OKLaboklab(37.1% -0.008 -0.1623)
OKLCHoklch(37.1% 0.163 267.2)
XYZxyz(6.9360, 4.6515, 28.5435)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3294 #947D1B
analogous
#1B6F94 #1B3294 #411B94
triadic
#1B3294 #941B32 #32941B
tetradic
#1B3294 #941B6F #947D1B #1B9441
square
#1B3294 #941B6F #947D1B #1B9441
split-complementary
#1B3294 #94411B #6F941B
monochromatic
#080F2C #122160 #1B3294 #2443C8 #4B67DE

Accessibility & contrast

On white

10.88
#1B3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3294
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3294#FFFFFF#000000##FFFFFF
##1B32941.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b3294;
/* rgb */ color: rgb(27, 50, 148);
/* oklch */ color: oklch(37.1% 0.163 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e69b4',
    500: '#1b3294',
    950: '#000000',
  },
}
SCSS
$custom: #1b3294;
$custom-light: #6e69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3294",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 228.595,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.16254,
    "h": 267.2
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#1B3294
secondary
#C0AA4B
accent
#CA3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3294

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

Preview Lab → · Contrast checker → · Palette generator →

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