#1C4F9F#1C4F9F

#1C4F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.141 H 259.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1C4F9F
RGBrgb(28, 79, 159)
HSLhsl(217, 70%, 37%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(82.4%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.68, 13.83, -48.17)
CIE-LCHlch(34.68, 50.12, 286.02°)
OKLaboklab(44.13% -0.0259 -0.1386)
OKLCHoklch(44.13% 0.141 259.4)
XYZxyz(9.5306, 8.3409, 33.9018)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4F9F #9F6C1C
analogous
#1C919F #1C4F9F #2B1C9F
triadic
#1C4F9F #9F1C4F #4F9F1C
tetradic
#1C4F9F #9F1C91 #9F6C1C #1C9F2B
square
#1C4F9F #9F1C91 #9F6C1C #1C9F2B
split-complementary
#1C4F9F #9F2B1C #919F1C
monochromatic
#0A1B37 #13356B #1C4F9F #2569D3 #548BE1

Accessibility & contrast

On white

7.87
#1C4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1C4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4F9F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4F9F#FFFFFF#000000##FFFFFF
##1C4F9F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1c4f9f;
/* rgb */ color: rgb(28, 79, 159);
/* oklch */ color: oklch(44.1% 0.141 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fbc',
    500: '#1c4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1c4f9f;
$custom-light: #6f7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4f9f",
  "rgb": {
    "r": 28,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 216.641,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.14104,
    "h": 259.4
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#1C4F9F
secondary
#C49853
accent
#A83BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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