#4258D8#4258D8

#4258D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.197 H 270.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4258D8
RGBrgb(66, 88, 216)
HSLhsl(231, 66%, 55%)
HSVhsv(231, 69%, 85%)
CMYKcmyk(69.4%, 59.3%, 0%, 15.3%)
CIE-LABlab(42.90, 33.91, -68.15)
CIE-LCHlch(42.90, 76.12, 296.45°)
OKLaboklab(52.1% 0.0019 -0.1965)
OKLCHoklch(52.1% 0.197 270.5)
XYZxyz(18.1269, 13.0938, 66.5245)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258D8 #D8C242
analogous
#42A3D8 #4258D8 #7742D8
triadic
#4258D8 #D84258 #58D842
tetradic
#4258D8 #D842A3 #D8C242 #42D877
square
#4258D8 #D842A3 #D8C242 #42D877
split-complementary
#4258D8 #D87742 #A3D842
monochromatic
#1B2B84 #263BB7 #4258D8 #7585E2 #A7B2ED

Accessibility & contrast

On white

5.80
#4258D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4258D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258D8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258D8#FFFFFF#000000##FFFFFF
##4258D81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4258d8;
/* rgb */ color: rgb(66, 88, 216);
/* oklch */ color: oklch(52.1% 0.197 270.5);
Tailwind
colors: {
  custom: {
    50: '#8987e5',
    500: '#4258d8',
    950: '#000000',
  },
}
SCSS
$custom: #4258d8;
$custom-light: #8987e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4258d8",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 231.2,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.521,
    "c": 0.19656,
    "h": 270.5
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#4258D8
secondary
#DAD19C
accent
#D03FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4258D8

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

Preview Lab → · Contrast checker → · Palette generator →

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