#4258C5#4258C5

#4258C5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.171 H 270.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4258C5
RGBrgb(66, 88, 197)
HSLhsl(230, 53%, 52%)
HSVhsv(230, 66%, 77%)
CMYKcmyk(66.5%, 55.3%, 0%, 22.7%)
CIE-LABlab(41.48, 27.22, -59.52)
CIE-LCHlch(41.48, 65.45, 294.58°)
OKLaboklab(50.59% 0.0015 -0.1712)
OKLCHoklch(50.59% 0.171 270.5)
XYZxyz(15.8111, 12.1675, 54.3278)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C5 #C5AF42
analogous
#4299C5 #4258C5 #6E42C5
triadic
#4258C5 #C54258 #58C542
tetradic
#4258C5 #C54299 #C5AF42 #42C56E
square
#4258C5 #C54299 #C5AF42 #42C56E
split-complementary
#4258C5 #C56E42 #99C542
monochromatic
#212E6C #2F419A #4258C5 #7181D3 #A0ABE2

Accessibility & contrast

On white

6.12
#4258C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4258C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C5#FFFFFF#000000##FFFFFF
##4258C51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4258c5;
/* rgb */ color: rgb(66, 88, 197);
/* oklch */ color: oklch(50.6% 0.171 270.5);
Tailwind
colors: {
  custom: {
    50: '#8586d7',
    500: '#4258c5',
    950: '#000000',
  },
}
SCSS
$custom: #4258c5;
$custom-light: #8586d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c5",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 197
  },
  "hsl": {
    "h": 229.924,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.17121,
    "h": 270.5
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#4258C5
secondary
#CEC595
accent
#C44BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4258C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4258C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva