#1B438E#1B438E

#1B438E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.133 H 261.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1B438E
RGBrgb(27, 67, 142)
HSLhsl(219, 68%, 33%)
HSVhsv(219, 81%, 56%)
CMYKcmyk(81%, 52.8%, 0%, 44.3%)
CIE-LABlab(29.91, 15.03, -45.55)
CIE-LCHlch(29.91, 47.97, 288.26°)
OKLaboklab(40.09% -0.0196 -0.1312)
OKLCHoklch(40.09% 0.133 261.5)
XYZxyz(7.3399, 6.1995, 26.3957)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B438E #8E661B
analogous
#1B7C8E #1B438E #2C1B8E
triadic
#1B438E #8E1B43 #438E1B
tetradic
#1B438E #8E1B7C #8E661B #1B8E2C
square
#1B438E #8E1B7C #8E661B #1B8E2C
split-complementary
#1B438E #8E2C1B #7C8E1B
monochromatic
#071227 #112B5B #1B438E #255BC1 #477BDC

Accessibility & contrast

On white

9.38
#1B438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B438E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B438E#FFFFFF#000000##FFFFFF
##1B438E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b438e;
/* rgb */ color: rgb(27, 67, 142);
/* oklch */ color: oklch(40.1% 0.133 261.5);
Tailwind
colors: {
  custom: {
    50: '#6b76b0',
    500: '#1b438e',
    950: '#000000',
  },
}
SCSS
$custom: #1b438e;
$custom-light: #6b76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b438e",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 219.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.13265,
    "h": 261.5
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#1B438E
secondary
#BE9447
accent
#AE3DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1B438E

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

Preview Lab → · Contrast checker → · Palette generator →

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