#4238AE#4238AE

#4238AE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.180 H 279.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4238AE
RGBrgb(66, 56, 174)
HSLhsl(245, 51%, 45%)
HSVhsv(245, 68%, 68%)
CMYKcmyk(62.1%, 67.8%, 0%, 31.8%)
CIE-LABlab(31.90, 39.37, -61.60)
CIE-LCHlch(31.90, 73.11, 302.59°)
OKLaboklab(42.96% 0.0295 -0.1775)
OKLCHoklch(42.96% 0.18 279.4)
XYZxyz(11.2985, 7.0417, 40.8000)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238AE #A4AE38
analogous
#3869AE #4238AE #7D38AE
triadic
#4238AE #AE4238 #38AE42
tetradic
#4238AE #AE3869 #A4AE38 #38AE7D
square
#4238AE #AE3869 #A4AE38 #38AE7D
split-complementary
#4238AE #AE7D38 #69AE38
monochromatic
#1F1A51 #302980 #4238AE #6359CA #8F88D9

Accessibility & contrast

On white

8.72
#4238AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4238AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238AE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238AE#FFFFFF#000000##FFFFFF
##4238AE1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4238ae;
/* rgb */ color: rgb(66, 56, 174);
/* oklch */ color: oklch(43.0% 0.180 279.4);
Tailwind
colors: {
  custom: {
    50: '#8370c7',
    500: '#4238ae',
    950: '#000000',
  },
}
SCSS
$custom: #4238ae;
$custom-light: #8370c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4238ae",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 245.085,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.17997,
    "h": 279.4
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#4238AE
secondary
#BDC37F
accent
#DB4DCF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4238AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4238AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva