#1C338F#1C338F

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

Color values

HEX#1C338F
RGBrgb(28, 51, 143)
HSLhsl(228, 67%, 34%)
HSVhsv(228, 80%, 56%)
CMYKcmyk(80.4%, 64.3%, 0%, 43.9%)
CIE-LABlab(25.55, 26.60, -53.26)
CIE-LCHlch(25.55, 59.53, 296.54°)
OKLaboklab(36.85% -0.0076 -0.1541)
OKLCHoklch(36.85% 0.154 267.2)
XYZxyz(6.6189, 4.5969, 26.5197)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C338F #8F781C
analogous
#1C6C8F #1C338F #3E1C8F
triadic
#1C338F #8F1C33 #338F1C
tetradic
#1C338F #8F1C6C #8F781C #1C8F3E
square
#1C338F #8F1C6C #8F781C #1C8F3E
split-complementary
#1C338F #8F3E1C #6C8F1C
monochromatic
#080E29 #12215C #1C338F #2645C2 #4A67DC

Accessibility & contrast

On white

10.94
#1C338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1C338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C338F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C338F#FFFFFF#000000##FFFFFF
##1C338F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1c338f;
/* rgb */ color: rgb(28, 51, 143);
/* oklch */ color: oklch(36.8% 0.154 267.2);
Tailwind
colors: {
  custom: {
    50: '#6d6ab1',
    500: '#1c338f',
    950: '#000000',
  },
}
SCSS
$custom: #1c338f;
$custom-light: #6d6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c338f",
  "rgb": {
    "r": 28,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 228,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.15426,
    "h": 267.2
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#1C338F
secondary
#BEA649
accent
#C83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1C338F

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

Preview Lab → · Contrast checker → · Palette generator →

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