#3C438E#3C438E

#3C438E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.123 H 275.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3C438E
RGBrgb(60, 67, 142)
HSLhsl(235, 41%, 40%)
HSVhsv(235, 58%, 56%)
CMYKcmyk(57.7%, 52.8%, 0%, 44.3%)
CIE-LABlab(31.64, 20.43, -42.67)
CIE-LCHlch(31.64, 47.31, 295.59°)
OKLaboklab(41.86% 0.0123 -0.122)
OKLCHoklch(41.86% 0.123 275.7)
XYZxyz(8.7515, 6.9273, 26.4619)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C438E #8E873C
analogous
#3C6C8E #3C438E #5E3C8E
triadic
#3C438E #8E3C43 #438E3C
tetradic
#3C438E #8E3C6C #8E873C #3C8E5E
square
#3C438E #8E3C6C #8E873C #3C8E5E
split-complementary
#3C438E #8E5E3C #6C8E3C
monochromatic
#181A38 #2A2F63 #3C438E #525AB6 #7D83C8

Accessibility & contrast

On white

8.80
#3C438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3C438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C438E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C438E#FFFFFF#000000##FFFFFF
##3C438E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#0D5462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c438e;
/* rgb */ color: rgb(60, 67, 142);
/* oklch */ color: oklch(41.9% 0.123 275.7);
Tailwind
colors: {
  custom: {
    50: '#7977b0',
    500: '#3c438e',
    950: '#000000',
  },
}
SCSS
$custom: #3c438e;
$custom-light: #7977b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c438e",
  "rgb": {
    "r": 60,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 234.878,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.12263,
    "h": 275.7
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#3C438E
secondary
#B2AC74
accent
#C657D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3C438E

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

Preview Lab → · Contrast checker → · Palette generator →

#3C438E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva