#1C2F7C#1C2F7C

#1C2F7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.133 H 267.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1C2F7C
RGBrgb(28, 47, 124)
HSLhsl(228, 63%, 30%)
HSVhsv(228, 77%, 49%)
CMYKcmyk(77.4%, 62.1%, 0%, 51.4%)
CIE-LABlab(22.77, 21.86, -45.91)
CIE-LCHlch(22.77, 50.85, 295.46°)
OKLaboklab(34.26% -0.0048 -0.1326)
OKLCHoklch(34.26% 0.133 267.9)
XYZxyz(5.1322, 3.7346, 19.5152)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F7C #7C691C
analogous
#1C5F7C #1C2F7C #391C7C
triadic
#1C2F7C #7C1C2F #2F7C1C
tetradic
#1C2F7C #7C1C5F #7C691C #1C7C39
square
#1C2F7C #7C1C5F #7C691C #1C7C39
split-complementary
#1C2F7C #7C391C #5F7C1C
monochromatic
#060919 #111C4A #1C2F7C #2742AE #3F5CD4

Accessibility & contrast

On white

12.02
#1C2F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C2F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F7C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F7C#FFFFFF#000000##FFFFFF
##1C2F7C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2f7c;
/* rgb */ color: rgb(28, 47, 124);
/* oklch */ color: oklch(34.3% 0.133 267.9);
Tailwind
colors: {
  custom: {
    50: '#6867a3',
    500: '#1c2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f7c;
$custom-light: #6867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f7c",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 228.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34261,
    "c": 0.13268,
    "h": 267.9
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#1C2F7C
secondary
#B09A44
accent
#C642E6
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1C2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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