#1B357B#1B357B

#1B357B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.124 H 265.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1B357B
RGBrgb(27, 53, 123)
HSLhsl(224, 64%, 29%)
HSVhsv(224, 78%, 48%)
CMYKcmyk(78%, 56.9%, 0%, 51.8%)
CIE-LABlab(24.35, 17.09, -42.72)
CIE-LCHlch(24.35, 46.01, 291.80°)
OKLaboklab(35.4% -0.0104 -0.1231)
OKLCHoklch(35.4% 0.124 265.2)
XYZxyz(5.2990, 4.2087, 19.2681)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B357B #7B611B
analogous
#1B657B #1B357B #311B7B
triadic
#1B357B #7B1B35 #357B1B
tetradic
#1B357B #7B1B65 #7B611B #1B7B31
square
#1B357B #7B1B65 #7B611B #1B7B31
split-complementary
#1B357B #7B311B #657B1B
monochromatic
#060B19 #101F49 #1B357B #264BAD #3C65D4

Accessibility & contrast

On white

11.40
#1B357B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B357B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B357B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B357B#FFFFFF#000000##FFFFFF
##1B357B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b357b;
/* rgb */ color: rgb(27, 53, 123);
/* oklch */ color: oklch(35.4% 0.124 265.2);
Tailwind
colors: {
  custom: {
    50: '#676ba2',
    500: '#1b357b',
    950: '#000000',
  },
}
SCSS
$custom: #1b357b;
$custom-light: #676ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b357b",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 123
  },
  "hsl": {
    "h": 223.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.12356,
    "h": 265.2
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#1B357B
secondary
#AF9243
accent
#BA41E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B357B

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

Preview Lab → · Contrast checker → · Palette generator →

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