#1C338D#1C338D

#1C338D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.152 H 267.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#1C338D
RGBrgb(28, 51, 141)
HSLhsl(228, 67%, 33%)
HSVhsv(228, 80%, 55%)
CMYKcmyk(80.1%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.37, 25.81, -52.32)
CIE-LCHlch(25.37, 58.34, 296.26°)
OKLaboklab(36.66% -0.0075 -0.1513)
OKLCHoklch(36.66% 0.152 267.1)
XYZxyz(6.4688, 4.5369, 25.7289)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338D #8D761C
analogous
#1C6B8D #1C338D #3E1C8D
triadic
#1C338D #8D1C33 #338D1C
tetradic
#1C338D #8D1C6B #8D761C #1C8D3E
square
#1C338D #8D1C6B #8D761C #1C8D3E
split-complementary
#1C338D #8D3E1C #6B8D1C
monochromatic
#080E27 #12215A #1C338D #2645C0 #4966DB

Accessibility & contrast

On white

11.01
#1C338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C338D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C338D#FFFFFF#000000##FFFFFF
##1C338D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c338d;
/* rgb */ color: rgb(28, 51, 141);
/* oklch */ color: oklch(36.7% 0.152 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aaf',
    500: '#1c338d',
    950: '#000000',
  },
}
SCSS
$custom: #1c338d;
$custom-light: #6c6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338d",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 227.788,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36658,
    "c": 0.15151,
    "h": 267.1
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#1C338D
secondary
#BDA548
accent
#C73EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C338D

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

Preview Lab → · Contrast checker → · Palette generator →

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