#1C338E#1C338E

#1C338E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.153 H 267.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1C338E
RGBrgb(28, 51, 142)
HSLhsl(228, 67%, 33%)
HSVhsv(228, 80%, 56%)
CMYKcmyk(80.3%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.46, 26.20, -52.79)
CIE-LCHlch(25.46, 58.93, 296.40°)
OKLaboklab(36.75% -0.0076 -0.1527)
OKLCHoklch(36.75% 0.153 267.2)
XYZxyz(6.5435, 4.5668, 26.1225)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338E #8E771C
analogous
#1C6C8E #1C338E #3E1C8E
triadic
#1C338E #8E1C33 #338E1C
tetradic
#1C338E #8E1C6C #8E771C #1C8E3E
square
#1C338E #8E1C6C #8E771C #1C8E3E
split-complementary
#1C338E #8E3E1C #6C8E1C
monochromatic
#080E28 #12215B #1C338E #2645C1 #4967DB

Accessibility & contrast

On white

10.97
#1C338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1C338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C338E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C338E#FFFFFF#000000##FFFFFF
##1C338E1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c338e;
/* rgb */ color: rgb(28, 51, 142);
/* oklch */ color: oklch(36.8% 0.153 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ab0',
    500: '#1c338e',
    950: '#000000',
  },
}
SCSS
$custom: #1c338e;
$custom-light: #6c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338e",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 227.895,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36753,
    "c": 0.15288,
    "h": 267.2
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1C338E
secondary
#BDA649
accent
#C73EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C338E

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

Preview Lab → · Contrast checker → · Palette generator →

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