#4258B2#4258B2

#4258B2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.145 H 270.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4258B2
RGBrgb(66, 88, 178)
HSLhsl(228, 46%, 48%)
HSVhsv(228, 63%, 70%)
CMYKcmyk(62.9%, 50.6%, 0%, 30.2%)
CIE-LABlab(40.17, 20.51, -50.55)
CIE-LCHlch(40.17, 54.55, 292.08°)
OKLaboklab(49.18% 0 -0.1448)
OKLCHoklch(49.18% 0.145 270)
XYZxyz(13.7697, 11.3509, 43.5761)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258B2 #B29C42
analogous
#4290B2 #4258B2 #6442B2
triadic
#4258B2 #B24258 #58B242
tetradic
#4258B2 #B24290 #B29C42 #42B264
square
#4258B2 #B24290 #B29C42 #42B264
split-complementary
#4258B2 #B26442 #90B242
monochromatic
#212C59 #314285 #4258B2 #6A7CC8 #96A3D8

Accessibility & contrast

On white

6.42
#4258B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4258B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258B2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258B2#FFFFFF#000000##FFFFFF
##4258B21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4258b2;
/* rgb */ color: rgb(66, 88, 178);
/* oklch */ color: oklch(49.2% 0.145 270.0);
Tailwind
colors: {
  custom: {
    50: '#8186ca',
    500: '#4258b2',
    950: '#000000',
  },
}
SCSS
$custom: #4258b2;
$custom-light: #8186ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4258b2",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 228.214,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.14479,
    "h": 270
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#4258B2
secondary
#C4B98C
accent
#BC52D6
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4258B2

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

Preview Lab → · Contrast checker → · Palette generator →

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