#4258A4#4258A4

#4258A4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.125 H 269.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4258A4
RGBrgb(66, 88, 164)
HSLhsl(227, 43%, 45%)
HSVhsv(227, 60%, 64%)
CMYKcmyk(59.8%, 46.3%, 0%, 35.7%)
CIE-LABlab(39.27, 15.59, -43.70)
CIE-LCHlch(39.27, 46.40, 289.64°)
OKLaboklab(48.21% -0.0018 -0.1246)
OKLCHoklch(48.21% 0.125 269.2)
XYZxyz(12.4351, 10.8170, 36.5474)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258A4 #A48E42
analogous
#4289A4 #4258A4 #5D42A4
triadic
#4258A4 #A44258 #58A442
tetradic
#4258A4 #A44289 #A48E42 #42A45D
square
#4258A4 #A44289 #A48E42 #42A45D
split-complementary
#4258A4 #A45D42 #89A442
monochromatic
#1F294D #304178 #4258A4 #6378C0 #8F9ED2

Accessibility & contrast

On white

6.64
#4258A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4258A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258A4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258A4#FFFFFF#000000##FFFFFF
##4258A41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4258a4;
/* rgb */ color: rgb(66, 88, 164);
/* oklch */ color: oklch(48.2% 0.125 269.2);
Tailwind
colors: {
  custom: {
    50: '#7f86bf',
    500: '#4258a4',
    950: '#000000',
  },
}
SCSS
$custom: #4258a4;
$custom-light: #7f86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4258a4",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 226.531,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.12466,
    "h": 269.2
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#4258A4
secondary
#BDB085
accent
#B655D2
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4258A4

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

Preview Lab → · Contrast checker → · Palette generator →

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