#4238DD#4238DD

#4238DD is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.5% C 0.237 H 275.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4238DD
RGBrgb(66, 56, 221)
HSLhsl(244, 71%, 54%)
HSVhsv(244, 75%, 87%)
CMYKcmyk(70.1%, 74.7%, 0%, 13.3%)
CIE-LABlab(36.38, 54.33, -81.72)
CIE-LCHlch(36.38, 98.13, 303.61°)
OKLaboklab(47.5% 0.0212 -0.2363)
OKLCHoklch(47.5% 0.237 275.1)
XYZxyz(16.7078, 9.2055, 69.2889)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238DD #D3DD38
analogous
#3881DD #4238DD #9438DD
triadic
#4238DD #DD4238 #38DD42
tetradic
#4238DD #DD3881 #D3DD38 #38DD94
square
#4238DD #DD3881 #D3DD38 #38DD94
split-complementary
#4238DD #DD9438 #81DD38
monochromatic
#1D1784 #291FB8 #4238DD #746CE6 #A5A1EF

Accessibility & contrast

On white

7.39
#4238DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4238DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238DD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238DD#FFFFFF#000000##FFFFFF
##4238DD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#004EDA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4238dd;
/* rgb */ color: rgb(66, 56, 221);
/* oklch */ color: oklch(47.5% 0.237 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c71e9',
    500: '#4238dd',
    950: '#000000',
  },
}
SCSS
$custom: #4238dd;
$custom-light: #8c71e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4238dd",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 243.636,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.23726,
    "h": 275.1
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#4238DD
secondary
#D7DB95
accent
#EE3AE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4238DD

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

Preview Lab → · Contrast checker → · Palette generator →

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