#1C338C#1C338C

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

Color values

HEX#1C338C
RGBrgb(28, 51, 140)
HSLhsl(228, 67%, 33%)
HSVhsv(228, 80%, 55%)
CMYKcmyk(80%, 63.6%, 0%, 45.1%)
CIE-LABlab(25.28, 25.42, -51.84)
CIE-LCHlch(25.28, 57.74, 296.12°)
OKLaboklab(36.56% -0.0075 -0.1499)
OKLCHoklch(36.56% 0.15 267.1)
XYZxyz(6.3947, 4.5072, 25.3388)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338C #8C751C
analogous
#1C6B8C #1C338C #3D1C8C
triadic
#1C338C #8C1C33 #338C1C
tetradic
#1C338C #8C1C6B #8C751C #1C8C3D
square
#1C338C #8C1C6B #8C751C #1C8C3D
split-complementary
#1C338C #8C3D1C #6B8C1C
monochromatic
#080E26 #122059 #1C338C #2646BF #4866DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C338C#FFFFFF#000000##FFFFFF
##1C338C1.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)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1c338c;
/* rgb */ color: rgb(28, 51, 140);
/* oklch */ color: oklch(36.6% 0.150 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6aae',
    500: '#1c338c',
    950: '#000000',
  },
}
SCSS
$custom: #1c338c;
$custom-light: #6c6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338c",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 227.679,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.15012,
    "h": 267.1
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#1C338C
secondary
#BCA448
accent
#C63EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1C338C

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

Preview Lab → · Contrast checker → · Palette generator →

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