#4338A5#4338A5

#4338A5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.168 H 281.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4338A5
RGBrgb(67, 56, 165)
HSLhsl(246, 49%, 43%)
HSVhsv(246, 66%, 65%)
CMYKcmyk(59.4%, 66.1%, 0%, 35.3%)
CIE-LABlab(31.20, 36.60, -57.34)
CIE-LCHlch(31.20, 68.03, 302.55°)
OKLaboklab(42.23% 0.032 -0.165)
OKLCHoklch(42.23% 0.168 281)
XYZxyz(10.5183, 6.7375, 36.3362)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338A5 #9AA538
analogous
#3863A5 #4338A5 #7938A5
triadic
#4338A5 #A54338 #38A543
tetradic
#4338A5 #A53863 #9AA538 #38A579
square
#4338A5 #A53863 #9AA538 #38A579
split-complementary
#4338A5 #A57938 #63A538
monochromatic
#1E194A #302877 #4338A5 #6055C5 #8B83D5

Accessibility & contrast

On white

8.95
#4338A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4338A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338A5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338A5#FFFFFF#000000##FFFFFF
##4338A51.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#015469
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4338a5;
/* rgb */ color: rgb(67, 56, 165);
/* oklch */ color: oklch(42.2% 0.168 281.0);
Tailwind
colors: {
  custom: {
    50: '#826fc1',
    500: '#4338a5',
    950: '#000000',
  },
}
SCSS
$custom: #4338a5;
$custom-light: #826fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4338a5",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 246.055,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.16809,
    "h": 281
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#4338A5
secondary
#B8BE7A
accent
#D94FCB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4338A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4338A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva