#4338A2#4338A2

#4338A2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.164 H 281.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4338A2
RGBrgb(67, 56, 162)
HSLhsl(246, 49%, 43%)
HSVhsv(246, 65%, 64%)
CMYKcmyk(58.6%, 65.4%, 0%, 36.5%)
CIE-LABlab(30.95, 35.62, -55.95)
CIE-LCHlch(30.95, 66.32, 302.48°)
OKLaboklab(41.97% 0.0323 -0.1609)
OKLCHoklch(41.97% 0.164 281.3)
XYZxyz(10.2485, 6.6296, 34.9150)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338A2 #97A238
analogous
#3862A2 #4338A2 #7838A2
triadic
#4338A2 #A24338 #38A243
tetradic
#4338A2 #A23862 #97A238 #38A278
square
#4338A2 #A23862 #97A238 #38A278
split-complementary
#4338A2 #A27838 #62A238
monochromatic
#1D1947 #302875 #4338A2 #5F53C4 #8A81D3

Accessibility & contrast

On white

9.03
#4338A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4338A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338A2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338A2#FFFFFF#000000##FFFFFF
##4338A21.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#095368
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4338a2;
/* rgb */ color: rgb(67, 56, 162);
/* oklch */ color: oklch(42.0% 0.164 281.3);
Tailwind
colors: {
  custom: {
    50: '#816fbe',
    500: '#4338a2',
    950: '#000000',
  },
}
SCSS
$custom: #4338a2;
$custom-light: #816fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4338a2",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 246.226,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4197,
    "c": 0.16413,
    "h": 281.3
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#4338A2
secondary
#B6BD79
accent
#D850CA
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4338A2

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

Preview Lab → · Contrast checker → · Palette generator →

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