#4258D2#4258D2

#4258D2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.189 H 270.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4258D2
RGBrgb(66, 88, 210)
HSLhsl(231, 62%, 54%)
HSVhsv(231, 69%, 82%)
CMYKcmyk(68.6%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.44, 31.80, -65.46)
CIE-LCHlch(42.44, 72.78, 295.91°)
OKLaboklab(51.61% 0.0018 -0.1887)
OKLCHoklch(51.61% 0.189 270.6)
XYZxyz(17.3654, 12.7892, 62.5137)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258D2 #D2BC42
analogous
#42A0D2 #4258D2 #7442D2
triadic
#4258D2 #D24258 #58D242
tetradic
#4258D2 #D242A0 #D2BC42 #42D274
square
#4258D2 #D242A0 #D2BC42 #42D274
split-complementary
#4258D2 #D27442 #A0D242
monochromatic
#1E2C7C #293EAD #4258D2 #7384DE #A5AFEA

Accessibility & contrast

On white

5.90
#4258D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4258D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258D2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258D2#FFFFFF#000000##FFFFFF
##4258D21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4258d2;
/* rgb */ color: rgb(66, 88, 210);
/* oklch */ color: oklch(51.6% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#8887e1',
    500: '#4258d2',
    950: '#000000',
  },
}
SCSS
$custom: #4258d2;
$custom-light: #8887e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4258d2",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 230.833,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.18867,
    "h": 270.6
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#4258D2
secondary
#D7CD99
accent
#CC43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4258D2

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

Preview Lab → · Contrast checker → · Palette generator →

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