#1C306C#1C306C

#1C306C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.108 H 266.6°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1C306C
RGBrgb(28, 48, 108)
HSLhsl(225, 59%, 27%)
HSVhsv(225, 74%, 42%)
CMYKcmyk(74.1%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.74, 14.69, -37.36)
CIE-LCHlch(21.74, 40.15, 291.46°)
OKLaboklab(33.07% -0.0064 -0.1074)
OKLCHoklch(33.07% 0.108 266.6)
XYZxyz(4.2417, 3.4431, 14.6255)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C306C #6C581C
analogous
#1C586C #1C306C #301C6C
triadic
#1C306C #6C1C30 #306C1C
tetradic
#1C306C #6C1C58 #6C581C #1C6C30
square
#1C306C #6C1C58 #6C581C #1C6C30
split-complementary
#1C306C #6C301C #586C1C
monochromatic
#060B18 #0F1A3B #1C306C #29469D #375CCB

Accessibility & contrast

On white

12.44
#1C306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1C306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C306C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C306C#FFFFFF#000000##FFFFFF
##1C306C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c306c;
/* rgb */ color: rgb(28, 48, 108);
/* oklch */ color: oklch(33.1% 0.108 266.6);
Tailwind
colors: {
  custom: {
    50: '#646797',
    500: '#1c306c',
    950: '#000000',
  },
}
SCSS
$custom: #1c306c;
$custom-light: #646797;
$custom-dark: #000000;
JSON
{
  "hex": "#1c306c",
  "rgb": {
    "r": 28,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 225,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33067,
    "c": 0.10763,
    "h": 266.6
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#1C306C
secondary
#A18943
accent
#BB46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1C306C

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

Preview Lab → · Contrast checker → · Palette generator →

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