#4247CA#4247CA

#4247CA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.198 H 274.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4247CA
RGBrgb(66, 71, 202)
HSLhsl(238, 56%, 53%)
HSVhsv(238, 67%, 79%)
CMYKcmyk(67.3%, 64.9%, 0%, 20.8%)
CIE-LABlab(37.71, 39.62, -68.57)
CIE-LCHlch(37.71, 79.19, 300.02°)
OKLaboklab(47.93% 0.015 -0.1979)
OKLCHoklch(47.93% 0.198 274.3)
XYZxyz(15.1571, 9.9276, 56.9831)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247CA #CAC542
analogous
#428BCA #4247CA #8142CA
triadic
#4247CA #CA4247 #47CA42
tetradic
#4247CA #CA428B #CAC542 #42CA81
square
#4247CA #CA428B #CAC542 #42CA81
split-complementary
#4247CA #CA8142 #8BCA42
monochromatic
#202372 #2D32A2 #4247CA #7276D7 #A2A4E5

Accessibility & contrast

On white

7.03
#4247CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4247CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4247CA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247CA#FFFFFF#000000##FFFFFF
##4247CA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4247ca;
/* rgb */ color: rgb(66, 71, 202);
/* oklch */ color: oklch(47.9% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#877adb',
    500: '#4247ca',
    950: '#000000',
  },
}
SCSS
$custom: #4247ca;
$custom-light: #877adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4247ca",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 237.794,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.19848,
    "h": 274.3
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#4247CA
secondary
#D1CF96
accent
#DA48DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4247CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva