#4258C8#4258C8

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

Color values

HEX#4258C8
RGBrgb(66, 88, 200)
HSLhsl(230, 55%, 52%)
HSVhsv(230, 67%, 78%)
CMYKcmyk(67%, 56%, 0%, 21.6%)
CIE-LABlab(41.70, 28.28, -60.91)
CIE-LCHlch(41.70, 67.15, 294.91°)
OKLaboklab(50.82% 0.0016 -0.1753)
OKLCHoklch(50.82% 0.175 270.5)
XYZxyz(16.1583, 12.3063, 56.1562)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258C8 #C8B242
analogous
#429BC8 #4258C8 #6F42C8
triadic
#4258C8 #C84258 #58C842
tetradic
#4258C8 #C8429B #C8B242 #42C86F
square
#4258C8 #C8429B #C8B242 #42C86F
split-complementary
#4258C8 #C86F42 #9BC842
monochromatic
#202D6F #2E419F #4258C8 #7182D6 #A1ACE4

Accessibility & contrast

On white

6.07
#4258C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4258C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258C8#FFFFFF#000000##FFFFFF
##4258C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4258c8;
/* rgb */ color: rgb(66, 88, 200);
/* oklch */ color: oklch(50.8% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#8686d9',
    500: '#4258c8',
    950: '#000000',
  },
}
SCSS
$custom: #4258c8;
$custom-light: #8686d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4258c8",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 230.149,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.17528,
    "h": 270.5
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#4258C8
secondary
#D0C796
accent
#C64ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258C8

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

Preview Lab → · Contrast checker → · Palette generator →

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