#4259D1#4259D1

#4259D1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.186 H 270.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4259D1
RGBrgb(66, 89, 209)
HSLhsl(230, 61%, 54%)
HSVhsv(230, 68%, 82%)
CMYKcmyk(68.4%, 57.4%, 0%, 18%)
CIE-LABlab(42.62, 30.82, -64.60)
CIE-LCHlch(42.62, 71.58, 295.51°)
OKLaboklab(51.72% 0.001 -0.1861)
OKLCHoklch(51.72% 0.186 270.3)
XYZxyz(17.3239, 12.9048, 61.8871)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259D1 #D1BA42
analogous
#42A1D1 #4259D1 #7342D1
triadic
#4259D1 #D14259 #59D142
tetradic
#4259D1 #D142A1 #D1BA42 #42D173
square
#4259D1 #D142A1 #D1BA42 #42D173
split-complementary
#4259D1 #D17342 #A1D142
monochromatic
#1E2D7B #2A3FAC #4259D1 #7384DD #A4AFE9

Accessibility & contrast

On white

5.86
#4259D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4259D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259D1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259D1#FFFFFF#000000##FFFFFF
##4259D11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4259d1;
/* rgb */ color: rgb(66, 89, 209);
/* oklch */ color: oklch(51.7% 0.186 270.3);
Tailwind
colors: {
  custom: {
    50: '#8787e0',
    500: '#4259d1',
    950: '#000000',
  },
}
SCSS
$custom: #4259d1;
$custom-light: #8787e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4259d1",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 209
  },
  "hsl": {
    "h": 230.35,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.18612,
    "h": 270.3
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#4259D1
secondary
#D6CC99
accent
#CA44E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4259D1

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

Preview Lab → · Contrast checker → · Palette generator →

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