#4258D1#4258D1

#4258D1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.187 H 270.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4258D1
RGBrgb(66, 88, 209)
HSLhsl(231, 61%, 54%)
HSVhsv(231, 68%, 82%)
CMYKcmyk(68.4%, 57.9%, 0%, 18%)
CIE-LABlab(42.37, 31.45, -65.01)
CIE-LCHlch(42.37, 72.22, 295.82°)
OKLaboklab(51.53% 0.0018 -0.1873)
OKLCHoklch(51.53% 0.187 270.6)
XYZxyz(17.2412, 12.7395, 61.8596)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258D1 #D1BB42
analogous
#42A0D1 #4258D1 #7442D1
triadic
#4258D1 #D14258 #58D142
tetradic
#4258D1 #D142A0 #D1BB42 #42D174
square
#4258D1 #D142A0 #D1BB42 #42D174
split-complementary
#4258D1 #D17442 #A0D142
monochromatic
#1E2C7B #2A3EAC #4258D1 #7383DD #A4AFE9

Accessibility & contrast

On white

5.92
#4258D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4258D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258D1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258D1#FFFFFF#000000##FFFFFF
##4258D11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4258d1;
/* rgb */ color: rgb(66, 88, 209);
/* oklch */ color: oklch(51.5% 0.187 270.6);
Tailwind
colors: {
  custom: {
    50: '#8787e0',
    500: '#4258d1',
    950: '#000000',
  },
}
SCSS
$custom: #4258d1;
$custom-light: #8787e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4258d1",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 230.769,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.18734,
    "h": 270.6
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#4258D1
secondary
#D6CD99
accent
#CB44E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4258D1

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

Preview Lab → · Contrast checker → · Palette generator →

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