#1B2390#1B2390

#1B2390 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.174 H 269.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2390
RGBrgb(27, 35, 144)
HSLhsl(236, 68%, 34%)
HSVhsv(236, 81%, 56%)
CMYKcmyk(81.3%, 75.7%, 0%, 43.5%)
CIE-LABlab(21.76, 37.29, -60.13)
CIE-LCHlch(21.76, 70.75, 301.80°)
OKLaboklab(34.11% -0.0007 -0.1742)
OKLCHoklch(34.11% 0.174 269.8)
XYZxyz(6.0853, 3.4480, 26.7250)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2390 #90881B
analogous
#1B5D90 #1B2390 #4D1B90
triadic
#1B2390 #901B23 #23901B
tetradic
#1B2390 #901B5D #90881B #1B904D
square
#1B2390 #901B5D #90881B #1B904D
split-complementary
#1B2390 #904D1B #5D901B
monochromatic
#080A29 #11165C #1B2390 #2530C4 #4953DD

Accessibility & contrast

On white

12.43
#1B2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2390
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2390#FFFFFF#000000##FFFFFF
##1B23901.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2390;
/* rgb */ color: rgb(27, 35, 144);
/* oklch */ color: oklch(34.1% 0.174 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e5fb2',
    500: '#1b2390',
    950: '#000000',
  },
}
SCSS
$custom: #1b2390;
$custom-light: #6e5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2390",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 235.897,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34108,
    "c": 0.17417,
    "h": 269.8
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#1B2390
secondary
#BFB748
accent
#DF3DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B2390

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

Preview Lab → · Contrast checker → · Palette generator →

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