#1C305F#1C305F

#1C305F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.087 H 264.6°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1C305F
RGBrgb(28, 48, 95)
HSLhsl(222, 54%, 24%)
HSVhsv(222, 71%, 37%)
CMYKcmyk(70.5%, 49.5%, 0%, 62.7%)
CIE-LABlab(20.78, 9.41, -30.44)
CIE-LCHlch(20.78, 31.86, 287.17°)
OKLaboklab(32.03% -0.0082 -0.0871)
OKLCHoklch(32.03% 0.087 264.6)
XYZxyz(3.6007, 3.1867, 11.2496)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C305F #5F4B1C
analogous
#1C525F #1C305F #2A1C5F
triadic
#1C305F #5F1C30 #305F1C
tetradic
#1C305F #5F1C52 #5F4B1C #1C5F2A
square
#1C305F #5F1C52 #5F4B1C #1C5F2A
split-complementary
#1C305F #5F2A1C #525F1C
monochromatic
#070C18 #0E1830 #1C305F #2A488E #3860BE

Accessibility & contrast

On white

12.83
#1C305F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C305F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C305F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C305F#FFFFFF#000000##FFFFFF
##1C305F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193561
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c305f;
/* rgb */ color: rgb(28, 48, 95);
/* oklch */ color: oklch(32.0% 0.087 264.6);
Tailwind
colors: {
  custom: {
    50: '#61678d',
    500: '#1c305f',
    950: '#000000',
  },
}
SCSS
$custom: #1c305f;
$custom-light: #61678d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c305f",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 222.09,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32028,
    "c": 0.08746,
    "h": 264.6
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#1C305F
secondary
#947C42
accent
#B24ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1C305F

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

Preview Lab → · Contrast checker → · Palette generator →

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