#1B309E#1B309E

#1B309E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.178 H 267.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1B309E
RGBrgb(27, 48, 158)
HSLhsl(230, 71%, 36%)
HSVhsv(230, 83%, 62%)
CMYKcmyk(82.9%, 69.6%, 0%, 38%)
CIE-LABlab(26.20, 34.25, -61.40)
CIE-LCHlch(26.20, 70.31, 299.15°)
OKLaboklab(37.75% -0.0076 -0.1779)
OKLCHoklch(37.75% 0.178 267.6)
XYZxyz(7.6784, 4.8146, 32.8658)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B309E #9E891B
analogous
#1B729E #1B309E #481B9E
triadic
#1B309E #9E1B30 #309E1B
tetradic
#1B309E #9E1B72 #9E891B #1B9E48
square
#1B309E #9E1B72 #9E891B #1B9E48
split-complementary
#1B309E #9E481B #729E1B
monochromatic
#091035 #12206A #1B309E #2440D2 #5269E1

Accessibility & contrast

On white

10.70
#1B309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1B309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B309E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B309E#FFFFFF#000000##FFFFFF
##1B309E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b309e;
/* rgb */ color: rgb(27, 48, 158);
/* oklch */ color: oklch(37.7% 0.178 267.6);
Tailwind
colors: {
  custom: {
    50: '#7168bc',
    500: '#1b309e',
    950: '#000000',
  },
}
SCSS
$custom: #1b309e;
$custom-light: #7168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b309e",
  "rgb": {
    "r": 27,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 230.382,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.17807,
    "h": 267.6
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#1B309E
secondary
#C4B251
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B309E

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

Preview Lab → · Contrast checker → · Palette generator →

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