#1C2F5F#1C2F5F

#1C2F5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.089 H 265.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1C2F5F
RGBrgb(28, 47, 95)
HSLhsl(223, 54%, 24%)
HSVhsv(223, 71%, 37%)
CMYKcmyk(70.5%, 50.5%, 0%, 62.7%)
CIE-LABlab(20.46, 10.13, -30.94)
CIE-LCHlch(20.46, 32.56, 288.12°)
OKLaboklab(31.79% -0.0071 -0.0886)
OKLCHoklch(31.79% 0.089 265.4)
XYZxyz(3.5602, 3.1058, 11.2361)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F5F #5F4C1C
analogous
#1C515F #1C2F5F #2B1C5F
triadic
#1C2F5F #5F1C2F #2F5F1C
tetradic
#1C2F5F #5F1C51 #5F4C1C #1C5F2B
square
#1C2F5F #5F1C51 #5F4C1C #1C5F2B
split-complementary
#1C2F5F #5F2B1C #515F1C
monochromatic
#070C18 #0E1830 #1C2F5F #2A468E #385EBE

Accessibility & contrast

On white

12.95
#1C2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1C2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F5F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F5F#FFFFFF#000000##FFFFFF
##1C2F5F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163561
Deuteranopia (green-blind)
#092E5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2f5f;
/* rgb */ color: rgb(28, 47, 95);
/* oklch */ color: oklch(31.8% 0.089 265.4);
Tailwind
colors: {
  custom: {
    50: '#61678d',
    500: '#1c2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f5f;
$custom-light: #61678d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f5f",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 222.985,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31787,
    "c": 0.08885,
    "h": 265.4
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#1C2F5F
secondary
#947D42
accent
#B44ADE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1C2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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