#4258A5#4258A5

#4258A5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.126 H 269.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4258A5
RGBrgb(66, 88, 165)
HSLhsl(227, 43%, 45%)
HSVhsv(227, 60%, 65%)
CMYKcmyk(60%, 46.7%, 0%, 35.3%)
CIE-LABlab(39.33, 15.94, -44.20)
CIE-LCHlch(39.33, 46.98, 289.84°)
OKLaboklab(48.28% -0.0016 -0.1261)
OKLCHoklch(48.28% 0.126 269.3)
XYZxyz(12.5257, 10.8533, 37.0248)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258A5 #A58F42
analogous
#4289A5 #4258A5 #5E42A5
triadic
#4258A5 #A54258 #58A542
tetradic
#4258A5 #A54289 #A58F42 #42A55E
square
#4258A5 #A54289 #A58F42 #42A55E
split-complementary
#4258A5 #A55E42 #89A542
monochromatic
#1F294E #314179 #4258A5 #6378C1 #8F9ED2

Accessibility & contrast

On white

6.62
#4258A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4258A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258A5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258A5#FFFFFF#000000##FFFFFF
##4258A51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#2558A3
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4258a5;
/* rgb */ color: rgb(66, 88, 165);
/* oklch */ color: oklch(48.3% 0.126 269.3);
Tailwind
colors: {
  custom: {
    50: '#7f86c0',
    500: '#4258a5',
    950: '#000000',
  },
}
SCSS
$custom: #4258a5;
$custom-light: #7f86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4258a5",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 226.667,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.12612,
    "h": 269.3
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#4258A5
secondary
#BDB185
accent
#B755D3
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4258A5

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

Preview Lab → · Contrast checker → · Palette generator →

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