#1C3166#1C3166

#1C3166 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.097 H 265.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1C3166
RGBrgb(28, 49, 102)
HSLhsl(223, 57%, 25%)
HSVhsv(223, 73%, 40%)
CMYKcmyk(72.5%, 52%, 0%, 60%)
CIE-LABlab(21.59, 11.53, -33.71)
CIE-LCHlch(21.59, 35.63, 288.88°)
OKLaboklab(32.81% -0.0081 -0.0967)
OKLCHoklch(32.81% 0.097 265.2)
XYZxyz(3.9746, 3.4024, 13.0151)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3166 #66511C
analogous
#1C5666 #1C3166 #2C1C66
triadic
#1C3166 #661C31 #31661C
tetradic
#1C3166 #661C56 #66511C #1C662C
square
#1C3166 #661C56 #66511C #1C662C
split-complementary
#1C3166 #662C1C #56661C
monochromatic
#070C18 #0F1A36 #1C3166 #294896 #365FC6

Accessibility & contrast

On white

12.50
#1C3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1C3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3166
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3166#FFFFFF#000000##FFFFFF
##1C31661.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#013165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c3166;
/* rgb */ color: rgb(28, 49, 102);
/* oklch */ color: oklch(32.8% 0.097 265.2);
Tailwind
colors: {
  custom: {
    50: '#626892',
    500: '#1c3166',
    950: '#000000',
  },
}
SCSS
$custom: #1c3166;
$custom-light: #626892;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3166",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 222.973,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32809,
    "c": 0.09702,
    "h": 265.2
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#1C3166
secondary
#9B8243
accent
#B548E0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1C3166

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

Preview Lab → · Contrast checker → · Palette generator →

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