#1C2F74#1C2F74

#1C2F74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.121 H 267.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#1C2F74
RGBrgb(28, 47, 116)
HSLhsl(227, 61%, 28%)
HSVhsv(227, 76%, 45%)
CMYKcmyk(75.9%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.09, 18.65, -41.93)
CIE-LCHlch(22.09, 45.89, 293.97°)
OKLaboklab(33.54% -0.005 -0.1209)
OKLCHoklch(33.54% 0.121 267.6)
XYZxyz(4.6467, 3.5404, 16.9581)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F74 #74611C
analogous
#1C5B74 #1C2F74 #351C74
triadic
#1C2F74 #741C2F #2F741C
tetradic
#1C2F74 #741C5B #74611C #1C7435
square
#1C2F74 #741C5B #74611C #1C7435
split-complementary
#1C2F74 #74351C #5B741C
monochromatic
#060A19 #101B43 #1C2F74 #2843A5 #3B5BD0

Accessibility & contrast

On white

12.29
#1C2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F74
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F74#FFFFFF#000000##FFFFFF
##1C2F741.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2f74;
/* rgb */ color: rgb(28, 47, 116);
/* oklch */ color: oklch(33.5% 0.121 267.6);
Tailwind
colors: {
  custom: {
    50: '#66679d',
    500: '#1c2f74',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f74;
$custom-light: #66679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f74",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 227.045,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.121,
    "h": 267.6
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#1C2F74
secondary
#A89343
accent
#C244E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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