#1B457F#1B457F

#1B457F is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.4% C 0.109 H 257.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1B457F
RGBrgb(27, 69, 127)
HSLhsl(215, 65%, 30%)
HSVhsv(215, 79%, 50%)
CMYKcmyk(78.7%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.46, 7.55, -36.98)
CIE-LCHlch(29.46, 37.74, 281.53°)
OKLaboklab(39.41% -0.0238 -0.1059)
OKLCHoklch(39.41% 0.109 257.3)
XYZxyz(6.4095, 6.0208, 20.8989)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B457F #7F551B
analogous
#1B777F #1B457F #231B7F
triadic
#1B457F #7F1B45 #457F1B
tetradic
#1B457F #7F1B77 #7F551B #1B7F23
square
#1B457F #7F1B77 #7F551B #1B7F23
split-complementary
#1B457F #7F231B #777F1B
monochromatic
#060E1A #102A4D #1B457F #2660B1 #3E7ED6

Accessibility & contrast

On white

9.53
#1B457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B457F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B457F#FFFFFF#000000##FFFFFF
##1B457F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A81
Deuteranopia (green-blind)
#14417E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b457f;
/* rgb */ color: rgb(27, 69, 127);
/* oklch */ color: oklch(39.4% 0.109 257.3);
Tailwind
colors: {
  custom: {
    50: '#6778a4',
    500: '#1b457f',
    950: '#000000',
  },
}
SCSS
$custom: #1b457f;
$custom-light: #6778a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b457f",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 214.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.10857,
    "h": 257.3
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#1B457F
secondary
#B38443
accent
#A140E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B457F

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

Preview Lab → · Contrast checker → · Palette generator →

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