#1B148F#1B148F

#1B148F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 271.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1B148F
RGBrgb(27, 20, 143)
HSLhsl(243, 75%, 32%)
HSVhsv(243, 86%, 56%)
CMYKcmyk(81.1%, 86%, 0%, 43.9%)
CIE-LABlab(18.87, 44.94, -64.29)
CIE-LCHlch(18.87, 78.44, 304.95°)
OKLaboklab(32.05% 0.0039 -0.186)
OKLCHoklch(32.05% 0.186 271.2)
XYZxyz(5.6584, 2.7159, 26.2073)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B148F #888F14
analogous
#144A8F #1B148F #59148F
triadic
#1B148F #8F1B14 #148F1B
tetradic
#1B148F #8F144A #888F14 #148F59
square
#1B148F #8F144A #888F14 #148F59
split-complementary
#1B148F #8F5914 #4A8F14
monochromatic
#070524 #110C59 #1B148F #251CC5 #443AE3

Accessibility & contrast

On white

13.61
#1B148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B148F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B148F#FFFFFF#000000##FFFFFF
##1B148F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b148f;
/* rgb */ color: rgb(27, 20, 143);
/* oklch */ color: oklch(32.0% 0.186 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f56b1',
    500: '#1b148f',
    950: '#000000',
  },
}
SCSS
$custom: #1b148f;
$custom-light: #6f56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b148f",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 243.415,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.18605,
    "h": 271.2
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#1B148F
secondary
#BBC33C
accent
#F236E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1B148F

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

Preview Lab → · Contrast checker → · Palette generator →

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