#4258BA#4258BA

#4258BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.156 H 270.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4258BA
RGBrgb(66, 88, 186)
HSLhsl(229, 48%, 49%)
HSVhsv(229, 65%, 73%)
CMYKcmyk(64.5%, 52.7%, 0%, 27.1%)
CIE-LABlab(40.71, 23.34, -54.37)
CIE-LCHlch(40.71, 59.17, 293.23°)
OKLaboklab(49.76% 0.0008 -0.156)
OKLCHoklch(49.76% 0.156 270.3)
XYZxyz(14.5964, 11.6816, 47.9304)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258BA #BAA442
analogous
#4294BA #4258BA #6842BA
triadic
#4258BA #BA4258 #58BA42
tetradic
#4258BA #BA4294 #BAA442 #42BA68
square
#4258BA #BA4294 #BAA442 #42BA68
split-complementary
#4258BA #BA6842 #94BA42
monochromatic
#222D60 #32438D #4258BA #6E7FCB #9BA7DB

Accessibility & contrast

On white

6.29
#4258BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4258BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258BA#FFFFFF#000000##FFFFFF
##4258BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4258ba;
/* rgb */ color: rgb(66, 88, 186);
/* oklch */ color: oklch(49.8% 0.156 270.3);
Tailwind
colors: {
  custom: {
    50: '#8386cf',
    500: '#4258ba',
    950: '#000000',
  },
}
SCSS
$custom: #4258ba;
$custom-light: #8386cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4258ba",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 229,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49761,
    "c": 0.15604,
    "h": 270.3
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#4258BA
secondary
#C8BD90
accent
#BF51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4258BA

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

Preview Lab → · Contrast checker → · Palette generator →

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