#4245B2#4245B2

#4245B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.169 H 276.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4245B2
RGBrgb(66, 69, 178)
HSLhsl(238, 46%, 48%)
HSVhsv(238, 63%, 70%)
CMYKcmyk(62.9%, 61.2%, 0%, 30.2%)
CIE-LABlab(35.26, 32.71, -58.50)
CIE-LCHlch(35.26, 67.02, 299.21°)
OKLaboklab(45.51% 0.0181 -0.1684)
OKLCHoklch(45.51% 0.169 276.1)
XYZxyz(12.4082, 8.6278, 43.1223)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245B2 #B2AF42
analogous
#427DB2 #4245B2 #7742B2
triadic
#4245B2 #B24245 #45B242
tetradic
#4245B2 #B2427D #B2AF42 #42B277
square
#4245B2 #B2427D #B2AF42 #42B277
split-complementary
#4245B2 #B27742 #7DB242
monochromatic
#212259 #313485 #4245B2 #6A6CC8 #9698D8

Accessibility & contrast

On white

7.70
#4245B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4245B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245B2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245B2#FFFFFF#000000##FFFFFF
##4245B21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4245b2;
/* rgb */ color: rgb(66, 69, 178);
/* oklch */ color: oklch(45.5% 0.169 276.1);
Tailwind
colors: {
  custom: {
    50: '#8379ca',
    500: '#4245b2',
    950: '#000000',
  },
}
SCSS
$custom: #4245b2;
$custom-light: #8379ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4245b2",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 238.393,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.16935,
    "h": 276.1
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#4245B2
secondary
#C4C28C
accent
#D252D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4245B2

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

Preview Lab → · Contrast checker → · Palette generator →

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