#4258A2#4258A2

#4258A2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.122 H 269.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4258A2
RGBrgb(66, 88, 162)
HSLhsl(226, 42%, 45%)
HSVhsv(226, 59%, 64%)
CMYKcmyk(59.3%, 45.7%, 0%, 36.5%)
CIE-LABlab(39.15, 14.89, -42.70)
CIE-LCHlch(39.15, 45.23, 289.23°)
OKLaboklab(48.08% -0.0021 -0.1217)
OKLCHoklch(48.08% 0.122 269)
XYZxyz(12.2559, 10.7454, 35.6036)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258A2 #A28C42
analogous
#4288A2 #4258A2 #5C42A2
triadic
#4258A2 #A24258 #58A242
tetradic
#4258A2 #A24288 #A28C42 #42A25C
square
#4258A2 #A24288 #A28C42 #42A25C
split-complementary
#4258A2 #A25C42 #88A242
monochromatic
#1F294B #304077 #4258A2 #6277BF #8E9DD1

Accessibility & contrast

On white

6.67
#4258A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4258A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258A2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258A2#FFFFFF#000000##FFFFFF
##4258A21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#2858A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4258a2;
/* rgb */ color: rgb(66, 88, 162);
/* oklch */ color: oklch(48.1% 0.122 269.0);
Tailwind
colors: {
  custom: {
    50: '#7f86be',
    500: '#4258a2',
    950: '#000000',
  },
}
SCSS
$custom: #4258a2;
$custom-light: #7f86be;
$custom-dark: #000000;
JSON
{
  "hex": "#4258a2",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 226.25,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48079,
    "c": 0.12174,
    "h": 269
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#4258A2
secondary
#BCAF84
accent
#B556D2
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4258A2

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

Preview Lab → · Contrast checker → · Palette generator →

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