#4258BF#4258BF

#4258BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.163 H 270.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4258BF
RGBrgb(66, 88, 191)
HSLhsl(229, 49%, 50%)
HSVhsv(229, 65%, 75%)
CMYKcmyk(65.4%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.05, 25.10, -56.73)
CIE-LCHlch(41.05, 62.04, 293.87°)
OKLaboklab(50.13% 0.0011 -0.163)
OKLCHoklch(50.13% 0.163 270.4)
XYZxyz(15.1373, 11.8979, 50.7789)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258BF #BFA942
analogous
#4296BF #4258BF #6A42BF
triadic
#4258BF #BF4258 #58BF42
tetradic
#4258BF #BF4296 #BFA942 #42BF6A
square
#4258BF #BF4296 #BFA942 #42BF6A
split-complementary
#4258BF #BF6A42 #96BF42
monochromatic
#222E65 #324392 #4258BF #7080CE #9DA9DE

Accessibility & contrast

On white

6.21
#4258BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4258BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258BF#FFFFFF#000000##FFFFFF
##4258BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4258bf;
/* rgb */ color: rgb(66, 88, 191);
/* oklch */ color: oklch(50.1% 0.163 270.4);
Tailwind
colors: {
  custom: {
    50: '#8486d3',
    500: '#4258bf',
    950: '#000000',
  },
}
SCSS
$custom: #4258bf;
$custom-light: #8486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4258bf",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 229.44,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.16298,
    "h": 270.4
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#4258BF
secondary
#CAC093
accent
#C14FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4258BF

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

Preview Lab → · Contrast checker → · Palette generator →

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