#1B2383#1B2383

#1B2383 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.157 H 270.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1B2383
RGBrgb(27, 35, 131)
HSLhsl(235, 66%, 31%)
HSVhsv(235, 79%, 51%)
CMYKcmyk(79.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(20.33, 32.57, -54.34)
CIE-LCHlch(20.33, 63.35, 300.94°)
OKLaboklab(32.67% 0.0012 -0.1573)
OKLCHoklch(32.67% 0.157 270.4)
XYZxyz(5.1484, 3.0732, 21.7902)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2383 #837B1B
analogous
#1B5783 #1B2383 #471B83
triadic
#1B2383 #831B23 #23831B
tetradic
#1B2383 #831B57 #837B1B #1B8347
square
#1B2383 #831B57 #837B1B #1B8347
split-complementary
#1B2383 #83471B #57831B
monochromatic
#06081E #111550 #1B2383 #2531B6 #414CD8

Accessibility & contrast

On white

13.00
#1B2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2383
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2383#FFFFFF#000000##FFFFFF
##1B23831.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2383;
/* rgb */ color: rgb(27, 35, 131);
/* oklch */ color: oklch(32.7% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b5ea8',
    500: '#1b2383',
    950: '#000000',
  },
}
SCSS
$custom: #1b2383;
$custom-light: #6b5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2383",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 235.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32669,
    "c": 0.15733,
    "h": 270.4
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#1B2383
secondary
#B6AE43
accent
#DC3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1B2383

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

Preview Lab → · Contrast checker → · Palette generator →

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