#1C2F97#1C2F97

#1C2F97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 268.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1C2F97
RGBrgb(28, 47, 151)
HSLhsl(231, 69%, 35%)
HSVhsv(231, 81%, 59%)
CMYKcmyk(81.5%, 68.9%, 0%, 40.8%)
CIE-LABlab(25.30, 32.35, -58.60)
CIE-LCHlch(25.30, 66.94, 298.90°)
OKLaboklab(36.9% -0.0057 -0.1697)
OKLCHoklch(36.9% 0.17 268.1)
XYZxyz(7.0794, 4.5134, 29.7702)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F97 #97841C
analogous
#1C6C97 #1C2F97 #471C97
triadic
#1C2F97 #971C2F #2F971C
tetradic
#1C2F97 #971C6C #97841C #1C9747
square
#1C2F97 #971C6C #97841C #1C9747
split-complementary
#1C2F97 #97471C #6C971C
monochromatic
#090F30 #121F63 #1C2F97 #263FCB #4F65DE

Accessibility & contrast

On white

11.04
#1C2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1C2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F97
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F97#FFFFFF#000000##FFFFFF
##1C2F971.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c2f97;
/* rgb */ color: rgb(28, 47, 151);
/* oklch */ color: oklch(36.9% 0.170 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f67b7',
    500: '#1c2f97',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f97;
$custom-light: #6f67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f97",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 230.732,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.16982,
    "h": 268.1
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#1C2F97
secondary
#C1AF4E
accent
#D03CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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