#1C2F85#1C2F85

#1C2F85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.145 H 268.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1C2F85
RGBrgb(28, 47, 133)
HSLhsl(229, 65%, 32%)
HSVhsv(229, 79%, 52%)
CMYKcmyk(78.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(23.58, 25.42, -50.26)
CIE-LCHlch(23.58, 56.32, 296.83°)
OKLaboklab(35.11% -0.0048 -0.1453)
OKLCHoklch(35.11% 0.145 268.1)
XYZxyz(5.7276, 3.9727, 22.6507)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2F85 #85721C
analogous
#1C6485 #1C2F85 #3E1C85
triadic
#1C2F85 #851C2F #2F851C
tetradic
#1C2F85 #851C64 #85721C #1C853E
square
#1C2F85 #851C64 #85721C #1C853E
split-complementary
#1C2F85 #853E1C #64851C
monochromatic
#070B20 #111D52 #1C2F85 #2741B8 #445FD8

Accessibility & contrast

On white

11.70
#1C2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2F85
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2F85#FFFFFF#000000##FFFFFF
##1C2F851.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2f85;
/* rgb */ color: rgb(28, 47, 133);
/* oklch */ color: oklch(35.1% 0.145 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a9',
    500: '#1c2f85',
    950: '#000000',
  },
}
SCSS
$custom: #1c2f85;
$custom-light: #6a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2f85",
  "rgb": {
    "r": 28,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 229.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35109,
    "c": 0.14542,
    "h": 268.1
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#1C2F85
secondary
#B8A345
accent
#CA40E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1C2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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