#1C2F72#1C2F72

#1C2F72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.118 H 267.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1C2F72
RGBrgb(28, 47, 114)
HSLhsl(227, 61%, 28%)
HSVhsv(227, 75%, 45%)
CMYKcmyk(75.4%, 58.8%, 0%, 55.3%)
CIE-LABlab(21.92, 17.84, -40.92)
CIE-LCHlch(21.92, 44.64, 293.55°)
OKLaboklab(33.36% -0.0051 -0.1179)
OKLCHoklch(33.36% 0.118 267.5)
XYZxyz(4.5316, 3.4943, 16.3520)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F72 #725F1C
analogous
#1C5A72 #1C2F72 #341C72
triadic
#1C2F72 #721C2F #2F721C
tetradic
#1C2F72 #721C5A #725F1C #1C7234
square
#1C2F72 #721C5A #725F1C #1C7234
split-complementary
#1C2F72 #72341C #5A721C
monochromatic
#060A19 #101B41 #1C2F72 #2843A3 #3A5BCF

Accessibility & contrast

On white

12.36
#1C2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F72
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F72#FFFFFF#000000##FFFFFF
##1C2F721.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1c2f72;
/* rgb */ color: rgb(28, 47, 114);
/* oklch */ color: oklch(33.4% 0.118 267.5);
Tailwind
colors: {
  custom: {
    50: '#65679b',
    500: '#1c2f72',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f72;
$custom-light: #65679b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f72",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 226.744,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.11804,
    "h": 267.5
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#1C2F72
secondary
#A69143
accent
#C044E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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