#1C4098#1C4098

#1C4098 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.150 H 264.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1C4098
RGBrgb(28, 64, 152)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(81.6%, 57.9%, 0%, 40.4%)
CIE-LABlab(29.86, 21.24, -51.75)
CIE-LCHlch(29.86, 55.94, 292.32°)
OKLaboklab(40.3% -0.0158 -0.1495)
OKLCHoklch(40.3% 0.15 264)
XYZxyz(7.9778, 6.1797, 30.4720)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4098 #98741C
analogous
#1C7E98 #1C4098 #361C98
triadic
#1C4098 #981C40 #40981C
tetradic
#1C4098 #981C7E #98741C #1C9836
square
#1C4098 #981C7E #98741C #1C9836
split-complementary
#1C4098 #98361C #7E981C
monochromatic
#091431 #122A64 #1C4098 #2656CC #5079DF

Accessibility & contrast

On white

9.39
#1C4098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C4098
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4098#FFFFFF#000000##FFFFFF
##1C40981.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c4098;
/* rgb */ color: rgb(28, 64, 152);
/* oklch */ color: oklch(40.3% 0.150 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e74b7',
    500: '#1c4098',
    950: '#000000',
  },
}
SCSS
$custom: #1c4098;
$custom-light: #6e74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4098",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 222.581,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.15029,
    "h": 264
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#1C4098
secondary
#C1A04E
accent
#B93CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C4098

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

Preview Lab → · Contrast checker → · Palette generator →

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