#4259BA#4259BA

#4259BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.155 H 269.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4259BA
RGBrgb(66, 89, 186)
HSLhsl(229, 48%, 49%)
HSVhsv(229, 65%, 73%)
CMYKcmyk(64.5%, 52.2%, 0%, 27.1%)
CIE-LABlab(40.97, 22.69, -53.94)
CIE-LCHlch(40.97, 58.52, 292.82°)
OKLaboklab(49.96% -0.0002 -0.1548)
OKLCHoklch(49.96% 0.155 269.9)
XYZxyz(14.6791, 11.8469, 47.9580)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259BA #BAA342
analogous
#4295BA #4259BA #6742BA
triadic
#4259BA #BA4259 #59BA42
tetradic
#4259BA #BA4295 #BAA342 #42BA67
square
#4259BA #BA4295 #BAA342 #42BA67
split-complementary
#4259BA #BA6742 #95BA42
monochromatic
#222E60 #32438D #4259BA #6E80CB #9BA7DB

Accessibility & contrast

On white

6.23
#4259BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4259BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259BA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259BA#FFFFFF#000000##FFFFFF
##4259BA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4259ba;
/* rgb */ color: rgb(66, 89, 186);
/* oklch */ color: oklch(50.0% 0.155 269.9);
Tailwind
colors: {
  custom: {
    50: '#8387cf',
    500: '#4259ba',
    950: '#000000',
  },
}
SCSS
$custom: #4259ba;
$custom-light: #8387cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4259ba",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 228.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.15476,
    "h": 269.9
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#4259BA
secondary
#C8BD90
accent
#BD51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4259BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4259BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva