#4258AC#4258AC

#4258AC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.136 H 269.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4258AC
RGBrgb(66, 88, 172)
HSLhsl(228, 45%, 47%)
HSVhsv(228, 62%, 67%)
CMYKcmyk(61.6%, 48.8%, 0%, 32.5%)
CIE-LABlab(39.77, 18.40, -47.64)
CIE-LCHlch(39.77, 51.07, 291.12°)
OKLaboklab(48.76% -0.0006 -0.1362)
OKLCHoklch(48.76% 0.136 269.7)
XYZxyz(13.1804, 11.1152, 40.4726)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258AC #AC9642
analogous
#428DAC #4258AC #6142AC
triadic
#4258AC #AC4258 #58AC42
tetradic
#4258AC #AC428D #AC9642 #42AC61
square
#4258AC #AC428D #AC9642 #42AC61
split-complementary
#4258AC #AC6142 #8DAC42
monochromatic
#202B54 #314180 #4258AC #677AC5 #93A1D6

Accessibility & contrast

On white

6.52
#4258AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4258AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258AC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258AC#FFFFFF#000000##FFFFFF
##4258AC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#1959AA
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4258ac;
/* rgb */ color: rgb(66, 88, 172);
/* oklch */ color: oklch(48.8% 0.136 269.7);
Tailwind
colors: {
  custom: {
    50: '#8086c5',
    500: '#4258ac',
    950: '#000000',
  },
}
SCSS
$custom: #4258ac;
$custom-light: #8086c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4258ac",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 227.547,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.13623,
    "h": 269.7
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#4258AC
secondary
#C1B589
accent
#BA54D4
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4258AC

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

Preview Lab → · Contrast checker → · Palette generator →

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