#1C2F78#1C2F78

#1C2F78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.127 H 267.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1C2F78
RGBrgb(28, 47, 120)
HSLhsl(228, 62%, 29%)
HSVhsv(228, 77%, 47%)
CMYKcmyk(76.7%, 60.8%, 0%, 52.9%)
CIE-LABlab(22.43, 20.25, -43.94)
CIE-LCHlch(22.43, 48.38, 294.75°)
OKLaboklab(33.89% -0.0048 -0.1268)
OKLCHoklch(33.89% 0.127 267.8)
XYZxyz(4.8844, 3.6355, 18.2100)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F78 #78651C
analogous
#1C5D78 #1C2F78 #371C78
triadic
#1C2F78 #781C2F #2F781C
tetradic
#1C2F78 #781C5D #78651C #1C7837
square
#1C2F78 #781C5D #78651C #1C7837
split-complementary
#1C2F78 #78371C #5D781C
monochromatic
#060A19 #101C46 #1C2F78 #2842AA #3D5BD2

Accessibility & contrast

On white

12.16
#1C2F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1C2F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F78
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F78#FFFFFF#000000##FFFFFF
##1C2F781.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2f78;
/* rgb */ color: rgb(28, 47, 120);
/* oklch */ color: oklch(33.9% 0.127 267.8);
Tailwind
colors: {
  custom: {
    50: '#6767a0',
    500: '#1c2f78',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f78;
$custom-light: #6767a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f78",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 227.609,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33895,
    "c": 0.12688,
    "h": 267.8
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#1C2F78
secondary
#AC9744
accent
#C443E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1C2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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