#1C2F5D#1C2F5D

#1C2F5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.086 H 265.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1C2F5D
RGBrgb(28, 47, 93)
HSLhsl(222, 54%, 24%)
HSVhsv(222, 70%, 36%)
CMYKcmyk(69.9%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.32, 9.32, -29.85)
CIE-LCHlch(20.32, 31.27, 287.34°)
OKLaboklab(31.63% -0.0074 -0.0854)
OKLCHoklch(31.63% 0.086 265)
XYZxyz(3.4705, 3.0699, 10.7635)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F5D #5D4A1C
analogous
#1C4F5D #1C2F5D #291C5D
triadic
#1C2F5D #5D1C2F #2F5D1C
tetradic
#1C2F5D #5D1C4F #5D4A1C #1C5D29
square
#1C2F5D #5D1C4F #5D4A1C #1C5D29
split-complementary
#1C2F5D #5D291C #4F5D1C
monochromatic
#070C18 #0E172E #1C2F5D #2A478C #385FBB

Accessibility & contrast

On white

13.01
#1C2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1C2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F5D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F5D#FFFFFF#000000##FFFFFF
##1C2F5D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18345F
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1c2f5d;
/* rgb */ color: rgb(28, 47, 93);
/* oklch */ color: oklch(31.6% 0.086 265.0);
Tailwind
colors: {
  custom: {
    50: '#60678b',
    500: '#1c2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f5d;
$custom-light: #60678b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f5d",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 222.462,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31634,
    "c": 0.08568,
    "h": 265
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#1C2F5D
secondary
#927B42
accent
#B24BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1C2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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