#4245BC#4245BC

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

Color values

HEX#4245BC
RGBrgb(66, 69, 188)
HSLhsl(239, 48%, 50%)
HSVhsv(239, 65%, 74%)
CMYKcmyk(64.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.07, 36.11, -63.08)
CIE-LCHlch(36.07, 72.68, 299.79°)
OKLaboklab(46.36% 0.0176 -0.1818)
OKLCHoklch(46.36% 0.183 275.5)
XYZxyz(13.4490, 9.0442, 48.6042)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245BC #BCB942
analogous
#4282BC #4245BC #7C42BC
triadic
#4245BC #BC4245 #45BC42
tetradic
#4245BC #BC4282 #BCB942 #42BC7C
square
#4245BC #BC4282 #BCB942 #42BC7C
split-complementary
#4245BC #BC7C42 #82BC42
monochromatic
#222461 #32348F #4245BC #6F71CC #9C9EDC

Accessibility & contrast

On white

7.48
#4245BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4245BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245BC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245BC#FFFFFF#000000##FFFFFF
##4245BC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4245bc;
/* rgb */ color: rgb(66, 69, 188);
/* oklch */ color: oklch(46.4% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#8479d1',
    500: '#4245bc',
    950: '#000000',
  },
}
SCSS
$custom: #4245bc;
$custom-light: #8479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4245bc",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 238.525,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.18267,
    "h": 275.5
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#4245BC
secondary
#C9C791
accent
#D450D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4245BC

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

Preview Lab → · Contrast checker → · Palette generator →

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