#1C2F7E#1C2F7E

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

Color values

HEX#1C2F7E
RGBrgb(28, 47, 126)
HSLhsl(228, 64%, 30%)
HSVhsv(228, 78%, 49%)
CMYKcmyk(77.8%, 62.7%, 0%, 50.6%)
CIE-LABlab(22.95, 22.65, -46.89)
CIE-LCHlch(22.95, 52.07, 295.79°)
OKLaboklab(34.45% -0.0048 -0.1355)
OKLCHoklch(34.45% 0.136 268)
XYZxyz(5.2600, 3.7857, 20.1881)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F7E #7E6B1C
analogous
#1C607E #1C2F7E #3A1C7E
triadic
#1C2F7E #7E1C2F #2F7E1C
tetradic
#1C2F7E #7E1C60 #7E6B1C #1C7E3A
square
#1C2F7E #7E1C60 #7E6B1C #1C7E3A
split-complementary
#1C2F7E #7E3A1C #607E1C
monochromatic
#060A1A #111C4C #1C2F7E #2742B0 #405DD5

Accessibility & contrast

On white

11.95
#1C2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2F7E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F7E#FFFFFF#000000##FFFFFF
##1C2F7E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2f7e;
/* rgb */ color: rgb(28, 47, 126);
/* oklch */ color: oklch(34.4% 0.136 268.0);
Tailwind
colors: {
  custom: {
    50: '#6867a4',
    500: '#1c2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f7e;
$custom-light: #6867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f7e",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 228.367,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34446,
    "c": 0.13554,
    "h": 268
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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