#1B438C#1B438C

#1B438C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.130 H 261.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1B438C
RGBrgb(27, 67, 140)
HSLhsl(219, 68%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(80.7%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.76, 14.22, -44.56)
CIE-LCHlch(29.76, 46.77, 287.70°)
OKLaboklab(39.93% -0.0199 -0.1283)
OKLCHoklch(39.93% 0.13 261.2)
XYZxyz(7.1911, 6.1399, 25.6120)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B438C #8C641B
analogous
#1B7B8C #1B438C #2B1B8C
triadic
#1B438C #8C1B43 #438C1B
tetradic
#1B438C #8C1B7B #8C641B #1B8C2B
square
#1B438C #8C1B7B #8C641B #1B8C2B
split-complementary
#1B438C #8C2B1B #7B8C1B
monochromatic
#071225 #112A59 #1B438C #255CBF #467BDB

Accessibility & contrast

On white

9.42
#1B438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1B438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B438C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B438C#FFFFFF#000000##FFFFFF
##1B438C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b438c;
/* rgb */ color: rgb(27, 67, 140);
/* oklch */ color: oklch(39.9% 0.130 261.2);
Tailwind
colors: {
  custom: {
    50: '#6a76ae',
    500: '#1b438c',
    950: '#000000',
  },
}
SCSS
$custom: #1b438c;
$custom-light: #6a76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b438c",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 218.761,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.1298,
    "h": 261.2
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#1B438C
secondary
#BD9346
accent
#AD3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B438C

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

Preview Lab → · Contrast checker → · Palette generator →

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