#4258C6#4258C6

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

Color values

HEX#4258C6
RGBrgb(66, 88, 198)
HSLhsl(230, 54%, 52%)
HSVhsv(230, 67%, 78%)
CMYKcmyk(66.7%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.55, 27.58, -59.99)
CIE-LCHlch(41.55, 66.02, 294.69°)
OKLaboklab(50.67% 0.0015 -0.1726)
OKLCHoklch(50.67% 0.173 270.5)
XYZxyz(15.9261, 12.2134, 54.9333)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C6 #C6B042
analogous
#429AC6 #4258C6 #6E42C6
triadic
#4258C6 #C64258 #58C642
tetradic
#4258C6 #C6429A #C6B042 #42C66E
square
#4258C6 #C6429A #C6B042 #42C66E
split-complementary
#4258C6 #C66E42 #9AC642
monochromatic
#212D6D #2F419C #4258C6 #7182D4 #A0ABE2

Accessibility & contrast

On white

6.10
#4258C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4258C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C6#FFFFFF#000000##FFFFFF
##4258C61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4258c6;
/* rgb */ color: rgb(66, 88, 198);
/* oklch */ color: oklch(50.7% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#8586d8',
    500: '#4258c6',
    950: '#000000',
  },
}
SCSS
$custom: #4258c6;
$custom-light: #8586d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c6",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 230,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.17257,
    "h": 270.5
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#4258C6
secondary
#CFC595
accent
#C54BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258C6

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

Preview Lab → · Contrast checker → · Palette generator →

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