#1C2F95#1C2F95

#1C2F95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.167 H 268.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1C2F95
RGBrgb(28, 47, 149)
HSLhsl(231, 68%, 35%)
HSVhsv(231, 81%, 58%)
CMYKcmyk(81.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.10, 31.59, -57.70)
CIE-LCHlch(25.10, 65.78, 298.71°)
OKLaboklab(36.69% -0.0056 -0.1671)
OKLCHoklch(36.69% 0.167 268.1)
XYZxyz(6.9183, 4.4490, 28.9221)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F95 #95821C
analogous
#1C6B95 #1C2F95 #461C95
triadic
#1C2F95 #951C2F #2F951C
tetradic
#1C2F95 #951C6B #95821C #1C9546
square
#1C2F95 #951C6B #95821C #1C9546
split-complementary
#1C2F95 #95461C #6B951C
monochromatic
#090E2E #121F61 #1C2F95 #263FC9 #4E64DE

Accessibility & contrast

On white

11.11
#1C2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1C2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F95
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F95#FFFFFF#000000##FFFFFF
##1C2F951.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c2f95;
/* rgb */ color: rgb(28, 47, 149);
/* oklch */ color: oklch(36.7% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f67b5',
    500: '#1c2f95',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f95;
$custom-light: #6f67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f95",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 230.579,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36692,
    "c": 0.16718,
    "h": 268.1
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#1C2F95
secondary
#C0AE4D
accent
#D03DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1C2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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