#1B438A#1B438A

#1B438A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.127 H 260.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1B438A
RGBrgb(27, 67, 138)
HSLhsl(218, 67%, 32%)
HSVhsv(218, 80%, 54%)
CMYKcmyk(80.4%, 51.4%, 0%, 45.9%)
CIE-LABlab(29.62, 13.40, -43.56)
CIE-LCHlch(29.62, 45.58, 287.10°)
OKLaboklab(39.77% -0.0201 -0.1253)
OKLCHoklch(39.77% 0.127 260.9)
XYZxyz(7.0449, 6.0815, 24.8424)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B438A #8A621B
analogous
#1B7B8A #1B438A #2A1B8A
triadic
#1B438A #8A1B43 #438A1B
tetradic
#1B438A #8A1B7B #8A621B #1B8A2A
square
#1B438A #8A1B7B #8A621B #1B8A2A
split-complementary
#1B438A #8A2A1B #7B8A1B
monochromatic
#071124 #112A57 #1B438A #255CBD #457BDB

Accessibility & contrast

On white

9.47
#1B438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B438A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B438A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B438A#FFFFFF#000000##FFFFFF
##1B438A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b438a;
/* rgb */ color: rgb(27, 67, 138);
/* oklch */ color: oklch(39.8% 0.127 260.9);
Tailwind
colors: {
  custom: {
    50: '#6a76ad',
    500: '#1b438a',
    950: '#000000',
  },
}
SCSS
$custom: #1b438a;
$custom-light: #6a76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b438a",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 218.378,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39768,
    "c": 0.12694,
    "h": 260.9
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#1B438A
secondary
#BC9145
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B438A

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

Preview Lab → · Contrast checker → · Palette generator →

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