#1C314F#1C314F

#1C314F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.061 H 257.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1C314F
RGBrgb(28, 49, 79)
HSLhsl(215, 48%, 21%)
HSVhsv(215, 65%, 31%)
CMYKcmyk(64.6%, 38%, 0%, 69%)
CIE-LABlab(20.08, 2.31, -20.93)
CIE-LCHlch(20.08, 21.06, 276.29°)
OKLaboklab(31.15% -0.0132 -0.0592)
OKLCHoklch(31.15% 0.061 257.4)
XYZxyz(2.9880, 3.0078, 7.8187)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C314F #4F3A1C
analogous
#1C4A4F #1C314F #201C4F
triadic
#1C314F #4F1C31 #314F1C
tetradic
#1C314F #4F1C4A #4F3A1C #1C4F20
square
#1C314F #4F1C4A #4F3A1C #1C4F20
split-complementary
#1C314F #4F201C #4A4F1C
monochromatic
#080E17 #0C1522 #1C314F #2C4D7C #3C69A9

Accessibility & contrast

On white

13.11
#1C314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1C314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C314F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C314F#FFFFFF#000000##FFFFFF
##1C314F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253350
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1c314f;
/* rgb */ color: rgb(28, 49, 79);
/* oklch */ color: oklch(31.2% 0.061 257.4);
Tailwind
colors: {
  custom: {
    50: '#5d6880',
    500: '#1c314f',
    950: '#000000',
  },
}
SCSS
$custom: #1c314f;
$custom-light: #5d6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1c314f",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 215.294,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31152,
    "c": 0.06065,
    "h": 257.4
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#1C314F
secondary
#856942
accent
#A051D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1C314F

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

Preview Lab → · Contrast checker → · Palette generator →

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