#4247CB#4247CB

#4247CB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.200 H 274.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4247CB
RGBrgb(66, 71, 203)
HSLhsl(238, 57%, 53%)
HSVhsv(238, 67%, 80%)
CMYKcmyk(67.5%, 65%, 0%, 20.4%)
CIE-LABlab(37.80, 39.96, -69.01)
CIE-LCHlch(37.80, 79.74, 300.08°)
OKLaboklab(48.01% 0.0149 -0.1992)
OKLCHoklch(48.01% 0.2 274.3)
XYZxyz(15.2759, 9.9751, 57.6087)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4247CB #CBC642
analogous
#428CCB #4247CB #8142CB
triadic
#4247CB #CB4247 #47CB42
tetradic
#4247CB #CB428C #CBC642 #42CB81
square
#4247CB #CB428C #CBC642 #42CB81
split-complementary
#4247CB #CB8142 #8CCB42
monochromatic
#202373 #2D31A3 #4247CB #7276D8 #A2A4E5

Accessibility & contrast

On white

7.01
#4247CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4247CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4247CB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4247CB#FFFFFF#000000##FFFFFF
##4247CB1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4247cb;
/* rgb */ color: rgb(66, 71, 203);
/* oklch */ color: oklch(48.0% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#877adc',
    500: '#4247cb',
    950: '#000000',
  },
}
SCSS
$custom: #4247cb;
$custom-light: #877adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4247cb",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 237.81,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.19976,
    "h": 274.3
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#4247CB
secondary
#D2D097
accent
#DB48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4247CB

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

Preview Lab → · Contrast checker → · Palette generator →

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