#1C2F7F#1C2F7F

#1C2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.137 H 268.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1C2F7F
RGBrgb(28, 47, 127)
HSLhsl(228, 64%, 30%)
HSVhsv(228, 78%, 50%)
CMYKcmyk(78%, 63%, 0%, 50.2%)
CIE-LABlab(23.04, 23.05, -47.38)
CIE-LCHlch(23.04, 52.69, 295.94°)
OKLaboklab(34.54% -0.0048 -0.1369)
OKLCHoklch(34.54% 0.137 268)
XYZxyz(5.3248, 3.8116, 20.5296)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F7F #7F6C1C
analogous
#1C607F #1C2F7F #3A1C7F
triadic
#1C2F7F #7F1C2F #2F7F1C
tetradic
#1C2F7F #7F1C60 #7F6C1C #1C7F3A
square
#1C2F7F #7F1C60 #7F6C1C #1C7F3A
split-complementary
#1C2F7F #7F3A1C #607F1C
monochromatic
#060A1B #111C4D #1C2F7F #2742B1 #405DD5

Accessibility & contrast

On white

11.92
#1C2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1C2F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F7F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F7F#FFFFFF#000000##FFFFFF
##1C2F7F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2f7f;
/* rgb */ color: rgb(28, 47, 127);
/* oklch */ color: oklch(34.5% 0.137 268.0);
Tailwind
colors: {
  custom: {
    50: '#6967a5',
    500: '#1c2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f7f;
$custom-light: #6967a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f7f",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 228.485,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3454,
    "c": 0.13696,
    "h": 268
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#1C2F7F
secondary
#B39D44
accent
#C741E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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