#1B2E83#1B2E83

#1B2E83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.144 H 268.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1B2E83
RGBrgb(27, 46, 131)
HSLhsl(229, 66%, 31%)
HSVhsv(229, 79%, 51%)
CMYKcmyk(79.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.08, 25.21, -49.82)
CIE-LCHlch(23.08, 55.84, 296.84°)
OKLaboklab(34.67% -0.0051 -0.1441)
OKLCHoklch(34.67% 0.144 268)
XYZxyz(5.5243, 3.8251, 21.9155)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E83 #83701B
analogous
#1B6283 #1B2E83 #3C1B83
triadic
#1B2E83 #831B2E #2E831B
tetradic
#1B2E83 #831B62 #83701B #1B833C
square
#1B2E83 #831B62 #83701B #1B833C
split-complementary
#1B2E83 #833C1B #62831B
monochromatic
#060A1E #111C50 #1B2E83 #2540B6 #415CD8

Accessibility & contrast

On white

11.90
#1B2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E83
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E83#FFFFFF#000000##FFFFFF
##1B2E831.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2e83;
/* rgb */ color: rgb(27, 46, 131);
/* oklch */ color: oklch(34.7% 0.144 268.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a8',
    500: '#1b2e83',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e83;
$custom-light: #6a66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e83",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 229.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.14418,
    "h": 268
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#1B2E83
secondary
#B6A143
accent
#CA3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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