#4258C7#4258C7

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

Color values

HEX#4258C7
RGBrgb(66, 88, 199)
HSLhsl(230, 54%, 52%)
HSVhsv(230, 67%, 78%)
CMYKcmyk(66.8%, 55.8%, 0%, 22%)
CIE-LABlab(41.63, 27.93, -60.45)
CIE-LCHlch(41.63, 66.59, 294.80°)
OKLaboklab(50.75% 0.0016 -0.1739)
OKLCHoklch(50.75% 0.174 270.5)
XYZxyz(16.0418, 12.2597, 55.5427)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C7 #C7B142
analogous
#429BC7 #4258C7 #6F42C7
triadic
#4258C7 #C74258 #58C742
tetradic
#4258C7 #C7429B #C7B142 #42C76F
square
#4258C7 #C7429B #C7B142 #42C76F
split-complementary
#4258C7 #C76F42 #9BC742
monochromatic
#212D6E #2F419D #4258C7 #7182D5 #A0ABE3

Accessibility & contrast

On white

6.08
#4258C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4258C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C7#FFFFFF#000000##FFFFFF
##4258C71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4258c7;
/* rgb */ color: rgb(66, 88, 199);
/* oklch */ color: oklch(50.7% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#8586d9',
    500: '#4258c7',
    950: '#000000',
  },
}
SCSS
$custom: #4258c7;
$custom-light: #8586d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c7",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 230.075,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.17393,
    "h": 270.5
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#4258C7
secondary
#D0C695
accent
#C54ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258C7

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

Preview Lab → · Contrast checker → · Palette generator →

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