#4258B8#4258B8

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

Color values

HEX#4258B8
RGBrgb(66, 88, 184)
HSLhsl(229, 47%, 49%)
HSVhsv(229, 64%, 72%)
CMYKcmyk(64.1%, 52.2%, 0%, 27.8%)
CIE-LABlab(40.57, 22.63, -53.42)
CIE-LCHlch(40.57, 58.02, 292.96°)
OKLaboklab(49.61% 0.0006 -0.1532)
OKLCHoklch(49.61% 0.153 270.2)
XYZxyz(14.3853, 11.5971, 46.8185)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258B8 #B8A242
analogous
#4293B8 #4258B8 #6742B8
triadic
#4258B8 #B84258 #58B842
tetradic
#4258B8 #B84293 #B8A242 #42B867
square
#4258B8 #B84293 #B8A242 #42B867
split-complementary
#4258B8 #B86742 #93B842
monochromatic
#222D5E #32428B #4258B8 #6D7ECB #9AA6DB

Accessibility & contrast

On white

6.33
#4258B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4258B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258B8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258B8#FFFFFF#000000##FFFFFF
##4258B81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4258b8;
/* rgb */ color: rgb(66, 88, 184);
/* oklch */ color: oklch(49.6% 0.153 270.2);
Tailwind
colors: {
  custom: {
    50: '#8286ce',
    500: '#4258b8',
    950: '#000000',
  },
}
SCSS
$custom: #4258b8;
$custom-light: #8286ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4258b8",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 228.814,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.15325,
    "h": 270.2
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#4258B8
secondary
#C7BC8F
accent
#BE51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4258B8

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

Preview Lab → · Contrast checker → · Palette generator →

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