#4258AF#4258AF

#4258AF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.141 H 269.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4258AF
RGBrgb(66, 88, 175)
HSLhsl(228, 45%, 47%)
HSVhsv(228, 62%, 69%)
CMYKcmyk(62.3%, 49.7%, 0%, 31.4%)
CIE-LABlab(39.97, 19.45, -49.10)
CIE-LCHlch(39.97, 52.81, 291.61°)
OKLaboklab(48.97% -0.0003 -0.1405)
OKLCHoklch(48.97% 0.141 269.9)
XYZxyz(13.4717, 11.2317, 42.0071)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258AF #AF9942
analogous
#428FAF #4258AF #6342AF
triadic
#4258AF #AF4258 #58AF42
tetradic
#4258AF #AF428F #AF9942 #42AF63
square
#4258AF #AF428F #AF9942 #42AF63
split-complementary
#4258AF #AF6342 #8FAF42
monochromatic
#202B56 #314283 #4258AF #687BC6 #95A2D7

Accessibility & contrast

On white

6.47
#4258AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4258AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258AF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258AF#FFFFFF#000000##FFFFFF
##4258AF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#125AAD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4258af;
/* rgb */ color: rgb(66, 88, 175);
/* oklch */ color: oklch(49.0% 0.141 269.9);
Tailwind
colors: {
  custom: {
    50: '#8186c7',
    500: '#4258af',
    950: '#000000',
  },
}
SCSS
$custom: #4258af;
$custom-light: #8186c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4258af",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 227.89,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.14053,
    "h": 269.9
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#4258AF
secondary
#C2B78A
accent
#BB53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4258AF

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

Preview Lab → · Contrast checker → · Palette generator →

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