#4258A8#4258A8

#4258A8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.130 H 269.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4258A8
RGBrgb(66, 88, 168)
HSLhsl(227, 44%, 46%)
HSVhsv(227, 61%, 66%)
CMYKcmyk(60.7%, 47.6%, 0%, 34.1%)
CIE-LABlab(39.52, 16.99, -45.68)
CIE-LCHlch(39.52, 48.74, 290.41°)
OKLaboklab(48.48% -0.0012 -0.1305)
OKLCHoklch(48.48% 0.13 269.5)
XYZxyz(12.8020, 10.9638, 38.4798)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258A8 #A89242
analogous
#428BA8 #4258A8 #5F42A8
triadic
#4258A8 #A84258 #58A842
tetradic
#4258A8 #A8428B #A89242 #42A85F
square
#4258A8 #A8428B #A89242 #42A85F
split-complementary
#4258A8 #A85F42 #8BA842
monochromatic
#1F2A50 #31417C #4258A8 #6579C2 #919FD4

Accessibility & contrast

On white

6.58
#4258A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4258A8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258A8#FFFFFF#000000##FFFFFF
##4258A81.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#2059A6
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4258a8;
/* rgb */ color: rgb(66, 88, 168);
/* oklch */ color: oklch(48.5% 0.130 269.5);
Tailwind
colors: {
  custom: {
    50: '#8086c2',
    500: '#4258a8',
    950: '#000000',
  },
}
SCSS
$custom: #4258a8;
$custom-light: #8086c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4258a8",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 227.059,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.13048,
    "h": 269.5
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#4258A8
secondary
#BFB387
accent
#B854D3
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4258A8

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

Preview Lab → · Contrast checker → · Palette generator →

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