#4258BC#4258BC

#4258BC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.159 H 270.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4258BC
RGBrgb(66, 88, 188)
HSLhsl(229, 48%, 50%)
HSVhsv(229, 65%, 74%)
CMYKcmyk(64.9%, 53.2%, 0%, 26.3%)
CIE-LABlab(40.84, 24.04, -55.32)
CIE-LCHlch(40.84, 60.32, 293.49°)
OKLaboklab(49.91% 0.0009 -0.1588)
OKLCHoklch(49.91% 0.159 270.3)
XYZxyz(14.8105, 11.7672, 49.0580)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4258BC #BCA642
analogous
#4295BC #4258BC #6942BC
triadic
#4258BC #BC4258 #58BC42
tetradic
#4258BC #BC4295 #BCA642 #42BC69
square
#4258BC #BC4295 #BCA642 #42BC69
split-complementary
#4258BC #BC6942 #95BC42
monochromatic
#222E61 #32438F #4258BC #6F80CC #9CA8DC

Accessibility & contrast

On white

6.26
#4258BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4258BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4258BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4258BC#FFFFFF#000000##FFFFFF
##4258BC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4258bc;
/* rgb */ color: rgb(66, 88, 188);
/* oklch */ color: oklch(49.9% 0.159 270.3);
Tailwind
colors: {
  custom: {
    50: '#8386d1',
    500: '#4258bc',
    950: '#000000',
  },
}
SCSS
$custom: #4258bc;
$custom-light: #8386d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4258bc",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 229.18,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4991,
    "c": 0.15882,
    "h": 270.3
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#4258BC
secondary
#C9BF91
accent
#BF50D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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