#4258CA#4258CA

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

Color values

HEX#4258CA
RGBrgb(66, 88, 202)
HSLhsl(230, 56%, 53%)
HSVhsv(230, 67%, 79%)
CMYKcmyk(67.3%, 56.4%, 0%, 20.8%)
CIE-LABlab(41.85, 28.99, -61.83)
CIE-LCHlch(41.85, 68.29, 295.12°)
OKLaboklab(50.98% 0.0017 -0.178)
OKLCHoklch(50.98% 0.178 270.5)
XYZxyz(16.3935, 12.4004, 57.3952)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258CA #CAB442
analogous
#429CCA #4258CA #7042CA
triadic
#4258CA #CA4258 #58CA42
tetradic
#4258CA #CA429C #CAB442 #42CA70
square
#4258CA #CA429C #CAB442 #42CA70
split-complementary
#4258CA #CA7042 #9CCA42
monochromatic
#202D72 #2D40A2 #4258CA #7282D7 #A2ACE5

Accessibility & contrast

On white

6.03
#4258CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4258CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258CA#FFFFFF#000000##FFFFFF
##4258CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4258ca;
/* rgb */ color: rgb(66, 88, 202);
/* oklch */ color: oklch(51.0% 0.178 270.5);
Tailwind
colors: {
  custom: {
    50: '#8686db',
    500: '#4258ca',
    950: '#000000',
  },
}
SCSS
$custom: #4258ca;
$custom-light: #8686db;
$custom-dark: #000000;
JSON
{
  "hex": "#4258ca",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 230.294,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.17798,
    "h": 270.5
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#4258CA
secondary
#D1C896
accent
#C748DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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