#1B488E#1B488E

#1B488E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.126 H 259.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1B488E
RGBrgb(27, 72, 142)
HSLhsl(217, 68%, 33%)
HSVhsv(217, 81%, 56%)
CMYKcmyk(81%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.39, 11.60, -43.16)
CIE-LCHlch(31.39, 44.69, 285.04°)
OKLaboklab(41.22% -0.0236 -0.124)
OKLCHoklch(41.22% 0.126 259.2)
XYZxyz(7.6501, 6.8198, 26.4991)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B488E #8E611B
analogous
#1B818E #1B488E #281B8E
triadic
#1B488E #8E1B48 #488E1B
tetradic
#1B488E #8E1B81 #8E611B #1B8E28
square
#1B488E #8E1B81 #8E611B #1B8E28
split-complementary
#1B488E #8E281B #818E1B
monochromatic
#071427 #112E5B #1B488E #2562C1 #4782DC

Accessibility & contrast

On white

8.88
#1B488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B488E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B488E#FFFFFF#000000##FFFFFF
##1B488E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b488e;
/* rgb */ color: rgb(27, 72, 142);
/* oklch */ color: oklch(41.2% 0.126 259.2);
Tailwind
colors: {
  custom: {
    50: '#6b7aaf',
    500: '#1b488e',
    950: '#000000',
  },
}
SCSS
$custom: #1b488e;
$custom-light: #6b7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b488e",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 216.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.12627,
    "h": 259.2
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#1B488E
secondary
#BE8F47
accent
#A73DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B488E

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

Preview Lab → · Contrast checker → · Palette generator →

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