#1B438F#1B438F

#1B438F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.134 H 261.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1B438F
RGBrgb(27, 67, 143)
HSLhsl(219, 68%, 33%)
HSVhsv(219, 81%, 56%)
CMYKcmyk(81.1%, 53.1%, 0%, 43.9%)
CIE-LABlab(29.98, 15.44, -46.04)
CIE-LCHlch(29.98, 48.56, 288.54°)
OKLaboklab(40.17% -0.0195 -0.1326)
OKLCHoklch(40.17% 0.134 261.6)
XYZxyz(7.4153, 6.2296, 26.7929)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B438F #8F671B
analogous
#1B7D8F #1B438F #2D1B8F
triadic
#1B438F #8F1B43 #438F1B
tetradic
#1B438F #8F1B7D #8F671B #1B8F2D
square
#1B438F #8F1B7D #8F671B #1B8F2D
split-complementary
#1B438F #8F2D1B #7D8F1B
monochromatic
#081328 #112B5C #1B438F #255BC2 #487BDC

Accessibility & contrast

On white

9.35
#1B438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B438F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B438F#FFFFFF#000000##FFFFFF
##1B438F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b438f;
/* rgb */ color: rgb(27, 67, 143);
/* oklch */ color: oklch(40.2% 0.134 261.6);
Tailwind
colors: {
  custom: {
    50: '#6b76b0',
    500: '#1b438f',
    950: '#000000',
  },
}
SCSS
$custom: #1b438f;
$custom-light: #6b76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b438f",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 219.31,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.13406,
    "h": 261.6
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#1B438F
secondary
#BE9548
accent
#AF3DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #1B438F

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

Preview Lab → · Contrast checker → · Palette generator →

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