#4338A0#4338A0

#4338A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.161 H 281.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4338A0
RGBrgb(67, 56, 160)
HSLhsl(246, 48%, 42%)
HSVhsv(246, 65%, 63%)
CMYKcmyk(58.1%, 65%, 0%, 37.3%)
CIE-LABlab(30.78, 34.97, -55.01)
CIE-LCHlch(30.78, 65.18, 302.44°)
OKLaboklab(41.8% 0.0325 -0.1582)
OKLCHoklch(41.8% 0.161 281.6)
XYZxyz(10.0721, 6.5590, 33.9862)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338A0 #95A038
analogous
#3861A0 #4338A0 #7738A0
triadic
#4338A0 #A04338 #38A043
tetradic
#4338A0 #A03861 #95A038 #38A077
square
#4338A0 #A03861 #95A038 #38A077
split-complementary
#4338A0 #A07738 #61A038
monochromatic
#1D1845 #302873 #4338A0 #5E53C3 #8980D3

Accessibility & contrast

On white

9.08
#4338A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4338A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338A0
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338A0#FFFFFF#000000##FFFFFF
##4338A01.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#0F5267
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4338a0;
/* rgb */ color: rgb(67, 56, 160);
/* oklch */ color: oklch(41.8% 0.161 281.6);
Tailwind
colors: {
  custom: {
    50: '#816fbd',
    500: '#4338a0',
    950: '#000000',
  },
}
SCSS
$custom: #4338a0;
$custom-light: #816fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4338a0",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 160
  },
  "hsl": {
    "h": 246.346,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.16147,
    "h": 281.6
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#4338A0
secondary
#B5BC78
accent
#D850C9
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4338A0

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

Preview Lab → · Contrast checker → · Palette generator →

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