#4258B7#4258B7

#4258B7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.152 H 270.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4258B7
RGBrgb(66, 88, 183)
HSLhsl(229, 47%, 49%)
HSVhsv(229, 64%, 72%)
CMYKcmyk(63.9%, 51.9%, 0%, 28.2%)
CIE-LABlab(40.50, 22.28, -52.95)
CIE-LCHlch(40.50, 57.44, 292.82°)
OKLaboklab(49.54% 0.0005 -0.1519)
OKLCHoklch(49.54% 0.152 270.2)
XYZxyz(14.2808, 11.5553, 46.2684)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258B7 #B7A142
analogous
#4293B7 #4258B7 #6742B7
triadic
#4258B7 #B74258 #58B742
tetradic
#4258B7 #B74293 #B7A142 #42B767
square
#4258B7 #B74293 #B7A142 #42B767
split-complementary
#4258B7 #B76742 #93B742
monochromatic
#222D5D #32428A #4258B7 #6C7ECA #99A5DA

Accessibility & contrast

On white

6.34
#4258B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4258B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258B7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258B7#FFFFFF#000000##FFFFFF
##4258B71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4258b7;
/* rgb */ color: rgb(66, 88, 183);
/* oklch */ color: oklch(49.5% 0.152 270.2);
Tailwind
colors: {
  custom: {
    50: '#8286cd',
    500: '#4258b7',
    950: '#000000',
  },
}
SCSS
$custom: #4258b7;
$custom-light: #8286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4258b7",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 228.718,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49541,
    "c": 0.15185,
    "h": 270.2
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#4258B7
secondary
#C6BC8F
accent
#BE51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4258B7

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

Preview Lab → · Contrast checker → · Palette generator →

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