#4243B2#4243B2

#4243B2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.172 H 276.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4243B2
RGBrgb(66, 67, 178)
HSLhsl(239, 46%, 48%)
HSVhsv(239, 63%, 70%)
CMYKcmyk(62.9%, 62.4%, 0%, 30.2%)
CIE-LABlab(34.77, 33.96, -59.29)
CIE-LCHlch(34.77, 68.33, 299.81°)
OKLaboklab(45.16% 0.0199 -0.1707)
OKLCHoklch(45.16% 0.172 276.6)
XYZxyz(12.2872, 8.3859, 43.0820)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4243B2 #B2B142
analogous
#427BB2 #4243B2 #7942B2
triadic
#4243B2 #B24243 #43B242
tetradic
#4243B2 #B2427B #B2B142 #42B279
square
#4243B2 #B2427B #B2B142 #42B279
split-complementary
#4243B2 #B27942 #7BB242
monochromatic
#212159 #313285 #4243B2 #6A6AC8 #9697D8

Accessibility & contrast

On white

7.84
#4243B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4243B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4243B2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4243B2#FFFFFF#000000##FFFFFF
##4243B21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4243b2;
/* rgb */ color: rgb(66, 67, 178);
/* oklch */ color: oklch(45.2% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#8377ca',
    500: '#4243b2',
    950: '#000000',
  },
}
SCSS
$custom: #4243b2;
$custom-light: #8377ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4243b2",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 239.464,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.17186,
    "h": 276.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#4243B2
secondary
#C4C38C
accent
#D452D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4243B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4243B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva