#4258D0#4258D0

#4258D0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.186 H 270.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4258D0
RGBrgb(66, 88, 208)
HSLhsl(231, 60%, 54%)
HSVhsv(231, 68%, 82%)
CMYKcmyk(68.3%, 57.7%, 0%, 18.4%)
CIE-LABlab(42.29, 31.10, -64.56)
CIE-LCHlch(42.29, 71.66, 295.72°)
OKLaboklab(51.45% 0.0018 -0.186)
OKLCHoklch(51.45% 0.186 270.6)
XYZxyz(17.1178, 12.6901, 61.2096)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258D0 #D0BA42
analogous
#429FD0 #4258D0 #7342D0
triadic
#4258D0 #D04258 #58D042
tetradic
#4258D0 #D0429F #D0BA42 #42D073
square
#4258D0 #D0429F #D0BA42 #42D073
split-complementary
#4258D0 #D07342 #9FD042
monochromatic
#1E2C79 #2A3EAA #4258D0 #7383DC #A4AFE8

Accessibility & contrast

On white

5.93
#4258D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4258D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258D0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258D0#FFFFFF#000000##FFFFFF
##4258D01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4258d0;
/* rgb */ color: rgb(66, 88, 208);
/* oklch */ color: oklch(51.5% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#8786df',
    500: '#4258d0',
    950: '#000000',
  },
}
SCSS
$custom: #4258d0;
$custom-light: #8786df;
$custom-dark: #000000;
JSON
{
  "hex": "#4258d0",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 230.704,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.18601,
    "h": 270.6
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#4258D0
secondary
#D5CC99
accent
#CB44E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4258D0

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

Preview Lab → · Contrast checker → · Palette generator →

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