#4258CB#4258CB

#4258CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.179 H 270.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4258CB
RGBrgb(66, 88, 203)
HSLhsl(230, 57%, 53%)
HSVhsv(230, 67%, 80%)
CMYKcmyk(67.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(41.92, 29.34, -62.28)
CIE-LCHlch(41.92, 68.85, 295.22°)
OKLaboklab(51.06% 0.0017 -0.1793)
OKLCHoklch(51.06% 0.179 270.5)
XYZxyz(16.5123, 12.4479, 58.0208)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258CB #CBB542
analogous
#429CCB #4258CB #7042CB
triadic
#4258CB #CB4258 #58CB42
tetradic
#4258CB #CB429C #CBB542 #42CB70
square
#4258CB #CB429C #CBB542 #42CB70
split-complementary
#4258CB #CB7042 #9CCB42
monochromatic
#202D73 #2D40A3 #4258CB #7282D8 #A2ADE5

Accessibility & contrast

On white

6.02
#4258CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4258CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258CB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258CB#FFFFFF#000000##FFFFFF
##4258CB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4258cb;
/* rgb */ color: rgb(66, 88, 203);
/* oklch */ color: oklch(51.1% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#8686dc',
    500: '#4258cb',
    950: '#000000',
  },
}
SCSS
$custom: #4258cb;
$custom-light: #8686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4258cb",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 230.365,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.17933,
    "h": 270.5
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#4258CB
secondary
#D2C997
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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