#4245CB#4245CB

#4245CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.7% C 0.202 H 274.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4245CB
RGBrgb(66, 69, 203)
HSLhsl(239, 57%, 53%)
HSVhsv(239, 67%, 80%)
CMYKcmyk(67.5%, 66%, 0%, 20.4%)
CIE-LABlab(37.34, 41.17, -69.75)
CIE-LCHlch(37.34, 80.99, 300.55°)
OKLaboklab(47.68% 0.0164 -0.2014)
OKLCHoklch(47.68% 0.202 274.6)
XYZxyz(15.1508, 9.7249, 57.5670)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4245CB #CBC842
analogous
#428ACB #4245CB #8342CB
triadic
#4245CB #CB4245 #45CB42
tetradic
#4245CB #CB428A #CBC842 #42CB83
square
#4245CB #CB428A #CBC842 #42CB83
split-complementary
#4245CB #CB8342 #8ACB42
monochromatic
#202173 #2D2FA3 #4245CB #7274D8 #A2A3E5

Accessibility & contrast

On white

7.13
#4245CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4245CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4245CB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4245CB#FFFFFF#000000##FFFFFF
##4245CB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4245cb;
/* rgb */ color: rgb(66, 69, 203);
/* oklch */ color: oklch(47.7% 0.202 274.6);
Tailwind
colors: {
  custom: {
    50: '#8779dc',
    500: '#4245cb',
    950: '#000000',
  },
}
SCSS
$custom: #4245cb;
$custom-light: #8779dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4245cb",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 238.686,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.20204,
    "h": 274.6
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#4245CB
secondary
#D2D197
accent
#DD48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4245CB

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

Preview Lab → · Contrast checker → · Palette generator →

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