#3C438D#3C438D

#3C438D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.121 H 275.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3C438D
RGBrgb(60, 67, 141)
HSLhsl(235, 40%, 39%)
HSVhsv(235, 57%, 55%)
CMYKcmyk(57.4%, 52.5%, 0%, 44.7%)
CIE-LABlab(31.57, 20.08, -42.17)
CIE-LCHlch(31.57, 46.70, 295.47°)
OKLaboklab(41.79% 0.0122 -0.1205)
OKLCHoklch(41.79% 0.121 275.8)
XYZxyz(8.6768, 6.8975, 26.0683)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C438D #8D863C
analogous
#3C6C8D #3C438D #5E3C8D
triadic
#3C438D #8D3C43 #438D3C
tetradic
#3C438D #8D3C6C #8D863C #3C8D5E
square
#3C438D #8D3C6C #8D863C #3C8D5E
split-complementary
#3C438D #8D5E3C #6C8D3C
monochromatic
#171A37 #2A2F62 #3C438D #515AB5 #7C83C7

Accessibility & contrast

On white

8.83
#3C438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3C438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C438D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C438D#FFFFFF#000000##FFFFFF
##3C438D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#0D478B
Tritanopia (blue-blind)
#0F5461
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c438d;
/* rgb */ color: rgb(60, 67, 141);
/* oklch */ color: oklch(41.8% 0.121 275.8);
Tailwind
colors: {
  custom: {
    50: '#7977af',
    500: '#3c438d',
    950: '#000000',
  },
}
SCSS
$custom: #3c438d;
$custom-light: #7977af;
$custom-dark: #000000;
JSON
{
  "hex": "#3c438d",
  "rgb": {
    "r": 60,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 234.815,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.12114,
    "h": 275.8
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#3C438D
secondary
#B1AC74
accent
#C658D0
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3C438D

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

Preview Lab → · Contrast checker → · Palette generator →

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