#1C2F79#1C2F79

#1C2F79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.128 H 267.9°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1C2F79
RGBrgb(28, 47, 121)
HSLhsl(228, 62%, 29%)
HSVhsv(228, 77%, 47%)
CMYKcmyk(76.9%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.51, 20.66, -44.43)
CIE-LCHlch(22.51, 49.00, 294.93°)
OKLaboklab(33.99% -0.0048 -0.1282)
OKLCHoklch(33.99% 0.128 267.9)
XYZxyz(4.9454, 3.6599, 18.5312)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F79 #79661C
analogous
#1C5E79 #1C2F79 #381C79
triadic
#1C2F79 #791C2F #2F791C
tetradic
#1C2F79 #791C5E #79661C #1C7938
square
#1C2F79 #791C5E #79661C #1C7938
split-complementary
#1C2F79 #79381C #5E791C
monochromatic
#060A19 #101C47 #1C2F79 #2842AB #3D5CD2

Accessibility & contrast

On white

12.12
#1C2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F79
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F79#FFFFFF#000000##FFFFFF
##1C2F791.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2f79;
/* rgb */ color: rgb(28, 47, 121);
/* oklch */ color: oklch(34.0% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#6767a0',
    500: '#1c2f79',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f79;
$custom-light: #6767a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f79",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 227.742,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.12834,
    "h": 267.9
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#1C2F79
secondary
#AD9844
accent
#C442E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1C2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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