#4258C0#4258C0

#4258C0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.164 H 270.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4258C0
RGBrgb(66, 88, 192)
HSLhsl(230, 50%, 51%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(65.6%, 54.2%, 0%, 24.7%)
CIE-LABlab(41.12, 25.46, -57.20)
CIE-LCHlch(41.12, 62.61, 293.99°)
OKLaboklab(50.21% 0.0012 -0.1643)
OKLCHoklch(50.21% 0.164 270.4)
XYZxyz(15.2477, 11.9421, 51.3605)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C0 #C0AA42
analogous
#4297C0 #4258C0 #6B42C0
triadic
#4258C0 #C04258 #58C042
tetradic
#4258C0 #C04297 #C0AA42 #42C06B
square
#4258C0 #C04297 #C0AA42 #42C06B
split-complementary
#4258C0 #C06B42 #97C042
monochromatic
#222E66 #314294 #4258C0 #7081CF #9EA9DF

Accessibility & contrast

On white

6.20
#4258C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4258C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C0#FFFFFF#000000##FFFFFF
##4258C01.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A67C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4258c0;
/* rgb */ color: rgb(66, 88, 192);
/* oklch */ color: oklch(50.2% 0.164 270.4);
Tailwind
colors: {
  custom: {
    50: '#8486d4',
    500: '#4258c0',
    950: '#000000',
  },
}
SCSS
$custom: #4258c0;
$custom-light: #8486d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c0",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 192
  },
  "hsl": {
    "h": 229.524,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.16435,
    "h": 270.4
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#4258C0
secondary
#CBC193
accent
#C14EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4258C0

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

Preview Lab → · Contrast checker → · Palette generator →

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