#1B457B#1B457B

#1B457B is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.1% C 0.103 H 256.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#1B457B
RGBrgb(27, 69, 123)
HSLhsl(214, 64%, 29%)
HSVhsv(214, 78%, 48%)
CMYKcmyk(78%, 43.9%, 0%, 51.8%)
CIE-LABlab(29.21, 5.92, -34.89)
CIE-LCHlch(29.21, 35.39, 279.63°)
OKLaboklab(39.12% -0.0247 -0.0998)
OKLCHoklch(39.12% 0.103 256.1)
XYZxyz(6.1539, 5.9186, 19.5531)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B457B #7B511B
analogous
#1B757B #1B457B #211B7B
triadic
#1B457B #7B1B45 #457B1B
tetradic
#1B457B #7B1B75 #7B511B #1B7B21
square
#1B457B #7B1B75 #7B511B #1B7B21
split-complementary
#1B457B #7B211B #757B1B
monochromatic
#060E19 #102949 #1B457B #2661AD #3C7FD4

Accessibility & contrast

On white

9.62
#1B457B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B457B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B457B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B457B#FFFFFF#000000##FFFFFF
##1B457B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#1A417A
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b457b;
/* rgb */ color: rgb(27, 69, 123);
/* oklch */ color: oklch(39.1% 0.103 256.1);
Tailwind
colors: {
  custom: {
    50: '#6678a1',
    500: '#1b457b',
    950: '#000000',
  },
}
SCSS
$custom: #1b457b;
$custom-light: #6678a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b457b",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 123
  },
  "hsl": {
    "h": 213.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.1028,
    "h": 256.1
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#1B457B
secondary
#AF8043
accent
#9E41E7
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B457B

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

Preview Lab → · Contrast checker → · Palette generator →

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