#4258A7#4258A7

#4258A7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.129 H 269.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4258A7
RGBrgb(66, 88, 167)
HSLhsl(227, 43%, 46%)
HSVhsv(227, 60%, 65%)
CMYKcmyk(60.5%, 47.3%, 0%, 34.5%)
CIE-LABlab(39.46, 16.64, -45.19)
CIE-LCHlch(39.46, 48.15, 290.22°)
OKLaboklab(48.41% -0.0013 -0.129)
OKLCHoklch(48.41% 0.129 269.4)
XYZxyz(12.7092, 10.9267, 37.9910)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258A7 #A79142
analogous
#428AA7 #4258A7 #5E42A7
triadic
#4258A7 #A74258 #58A742
tetradic
#4258A7 #A7428A #A79142 #42A75E
square
#4258A7 #A7428A #A79142 #42A75E
split-complementary
#4258A7 #A75E42 #8AA742
monochromatic
#1F2A4F #31417B #4258A7 #6479C2 #909FD3

Accessibility & contrast

On white

6.59
#4258A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4258A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258A7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258A7#FFFFFF#000000##FFFFFF
##4258A71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#2259A5
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4258a7;
/* rgb */ color: rgb(66, 88, 167);
/* oklch */ color: oklch(48.4% 0.129 269.4);
Tailwind
colors: {
  custom: {
    50: '#7f86c2',
    500: '#4258a7',
    950: '#000000',
  },
}
SCSS
$custom: #4258a7;
$custom-light: #7f86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4258a7",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 226.931,
    "s": 43.348,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48414,
    "c": 0.12903,
    "h": 269.4
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#4258A7
secondary
#BEB286
accent
#B855D3
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4258A7

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

Preview Lab → · Contrast checker → · Palette generator →

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