#1B438B#1B438B

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

Color values

HEX#1B438B
RGBrgb(27, 67, 139)
HSLhsl(219, 67%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(80.6%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.69, 13.81, -44.06)
CIE-LCHlch(29.69, 46.17, 287.41°)
OKLaboklab(39.85% -0.02 -0.1268)
OKLCHoklch(39.85% 0.128 261)
XYZxyz(7.1177, 6.1106, 25.2254)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B438B #8B631B
analogous
#1B7B8B #1B438B #2B1B8B
triadic
#1B438B #8B1B43 #438B1B
tetradic
#1B438B #8B1B7B #8B631B #1B8B2B
square
#1B438B #8B1B7B #8B631B #1B8B2B
split-complementary
#1B438B #8B2B1B #7B8B1B
monochromatic
#071225 #112A58 #1B438B #255CBE #457BDB

Accessibility & contrast

On white

9.45
#1B438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B438B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B438B#FFFFFF#000000##FFFFFF
##1B438B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b438b;
/* rgb */ color: rgb(27, 67, 139);
/* oklch */ color: oklch(39.8% 0.128 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a76ad',
    500: '#1b438b',
    950: '#000000',
  },
}
SCSS
$custom: #1b438b;
$custom-light: #6a76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b438b",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 218.571,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.12837,
    "h": 261
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#1B438B
secondary
#BC9245
accent
#AD3DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B438B

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

Preview Lab → · Contrast checker → · Palette generator →

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