#4245BF#4245BF

#4245BF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.187 H 275.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4245BF
RGBrgb(66, 69, 191)
HSLhsl(239, 49%, 50%)
HSVhsv(239, 65%, 75%)
CMYKcmyk(65.4%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.32, 37.13, -64.43)
CIE-LCHlch(36.32, 74.36, 299.95°)
OKLaboklab(46.62% 0.0174 -0.1858)
OKLCHoklch(46.62% 0.187 275.3)
XYZxyz(13.7758, 9.1749, 50.3251)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245BF #BFBC42
analogous
#4283BF #4245BF #7D42BF
triadic
#4245BF #BF4245 #45BF42
tetradic
#4245BF #BF4283 #BFBC42 #42BF7D
square
#4245BF #BF4283 #BFBC42 #42BF7D
split-complementary
#4245BF #BF7D42 #83BF42
monochromatic
#222465 #323492 #4245BF #7072CE #9D9FDE

Accessibility & contrast

On white

7.41
#4245BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4245BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245BF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245BF#FFFFFF#000000##FFFFFF
##4245BF1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4245bf;
/* rgb */ color: rgb(66, 69, 191);
/* oklch */ color: oklch(46.6% 0.187 275.3);
Tailwind
colors: {
  custom: {
    50: '#8579d3',
    500: '#4245bf',
    950: '#000000',
  },
}
SCSS
$custom: #4245bf;
$custom-light: #8579d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4245bf",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 238.56,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.1866,
    "h": 275.3
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#4245BF
secondary
#CAC993
accent
#D64FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4245BF

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

Preview Lab → · Contrast checker → · Palette generator →

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