#4245BD#4245BD

#4245BD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.184 H 275.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4245BD
RGBrgb(66, 69, 189)
HSLhsl(239, 48%, 50%)
HSVhsv(239, 65%, 74%)
CMYKcmyk(65.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.15, 36.45, -63.53)
CIE-LCHlch(36.15, 73.24, 299.85°)
OKLaboklab(46.45% 0.0175 -0.1831)
OKLCHoklch(46.45% 0.184 275.5)
XYZxyz(13.5572, 9.0875, 49.1739)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245BD #BDBA42
analogous
#4282BD #4245BD #7D42BD
triadic
#4245BD #BD4245 #45BD42
tetradic
#4245BD #BD4282 #BDBA42 #42BD7D
square
#4245BD #BD4282 #BDBA42 #42BD7D
split-complementary
#4245BD #BD7D42 #82BD42
monochromatic
#222462 #323490 #4245BD #6F72CD #9D9EDD

Accessibility & contrast

On white

7.45
#4245BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4245BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245BD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245BD#FFFFFF#000000##FFFFFF
##4245BD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4245bd;
/* rgb */ color: rgb(66, 69, 189);
/* oklch */ color: oklch(46.4% 0.184 275.5);
Tailwind
colors: {
  custom: {
    50: '#8579d2',
    500: '#4245bd',
    950: '#000000',
  },
}
SCSS
$custom: #4245bd;
$custom-light: #8579d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4245bd",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 238.537,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.18399,
    "h": 275.5
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#4245BD
secondary
#C9C892
accent
#D550D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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