#1C274F#1C274F

#1C274F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.075 H 269.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#1C274F
RGBrgb(28, 39, 79)
HSLhsl(227, 48%, 21%)
HSVhsv(227, 65%, 31%)
CMYKcmyk(64.6%, 50.6%, 0%, 69%)
CIE-LABlab(16.81, 9.54, -26.12)
CIE-LCHlch(16.81, 27.81, 290.06°)
OKLaboklab(28.63% -0.0004 -0.0745)
OKLCHoklch(28.63% 0.075 269.7)
XYZxyz(2.6152, 2.2622, 7.6945)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C274F #4F441C
analogous
#1C404F #1C274F #2A1C4F
triadic
#1C274F #4F1C27 #274F1C
tetradic
#1C274F #4F1C40 #4F441C #1C4F2A
square
#1C274F #4F1C40 #4F441C #1C4F2A
split-complementary
#1C274F #4F2A1C #404F1C
monochromatic
#080B17 #0C1122 #1C274F #2C3D7C #3C54A9

Accessibility & contrast

On white

14.46
#1C274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C274F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C274F#FFFFFF#000000##FFFFFF
##1C274F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C50
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c274f;
/* rgb */ color: rgb(28, 39, 79);
/* oklch */ color: oklch(28.6% 0.075 269.7);
Tailwind
colors: {
  custom: {
    50: '#5e6080',
    500: '#1c274f',
    950: '#000000',
  },
}
SCSS
$custom: #1c274f;
$custom-light: #5e6080;
$custom-dark: #000000;
JSON
{
  "hex": "#1c274f",
  "rgb": {
    "r": 28,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 227.059,
    "s": 47.664,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.07452,
    "h": 269.7
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#1C274F
secondary
#857642
accent
#BA51D7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1C274F

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

Preview Lab → · Contrast checker → · Palette generator →

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