#4259D2#4259D2

#4259D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.187 H 270.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4259D2
RGBrgb(66, 89, 210)
HSLhsl(230, 62%, 54%)
HSVhsv(230, 69%, 82%)
CMYKcmyk(68.6%, 57.6%, 0%, 17.6%)
CIE-LABlab(42.69, 31.17, -65.05)
CIE-LCHlch(42.69, 72.14, 295.60°)
OKLaboklab(51.8% 0.0011 -0.1874)
OKLCHoklch(51.8% 0.187 270.3)
XYZxyz(17.4480, 12.9545, 62.5412)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259D2 #D2BB42
analogous
#42A1D2 #4259D2 #7342D2
triadic
#4259D2 #D24259 #59D242
tetradic
#4259D2 #D242A1 #D2BB42 #42D273
square
#4259D2 #D242A1 #D2BB42 #42D273
split-complementary
#4259D2 #D27342 #A1D242
monochromatic
#1E2D7C #293EAD #4259D2 #7384DE #A5B0EA

Accessibility & contrast

On white

5.85
#4259D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4259D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259D2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259D2#FFFFFF#000000##FFFFFF
##4259D21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4259d2;
/* rgb */ color: rgb(66, 89, 210);
/* oklch */ color: oklch(51.8% 0.187 270.3);
Tailwind
colors: {
  custom: {
    50: '#8787e1',
    500: '#4259d2',
    950: '#000000',
  },
}
SCSS
$custom: #4259d2;
$custom-light: #8787e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4259d2",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 230.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.518,
    "c": 0.18745,
    "h": 270.3
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#4259D2
secondary
#D7CD99
accent
#CB43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4259D2

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

Preview Lab → · Contrast checker → · Palette generator →

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