#4259CF#4259CF

#4259CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.183 H 270.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4259CF
RGBrgb(66, 89, 207)
HSLhsl(230, 59%, 54%)
HSVhsv(230, 68%, 81%)
CMYKcmyk(68.1%, 57%, 0%, 18.8%)
CIE-LABlab(42.47, 30.12, -63.69)
CIE-LCHlch(42.47, 70.46, 295.31°)
OKLaboklab(51.56% 0.001 -0.1834)
OKLCHoklch(51.56% 0.183 270.3)
XYZxyz(17.0778, 12.8064, 60.5913)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259CF #CFB842
analogous
#429FCF #4259CF #7142CF
triadic
#4259CF #CF4259 #59CF42
tetradic
#4259CF #CF429F #CFB842 #42CF71
square
#4259CF #CF429F #CFB842 #42CF71
split-complementary
#4259CF #CF7142 #9FCF42
monochromatic
#1F2D78 #2B3FA9 #4259CF #7384DB #A4AFE8

Accessibility & contrast

On white

5.90
#4259CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4259CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259CF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259CF#FFFFFF#000000##FFFFFF
##4259CF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4259cf;
/* rgb */ color: rgb(66, 89, 207);
/* oklch */ color: oklch(51.6% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#8787df',
    500: '#4259cf',
    950: '#000000',
  },
}
SCSS
$custom: #4259cf;
$custom-light: #8787df;
$custom-dark: #000000;
JSON
{
  "hex": "#4259cf",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 230.213,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.18345,
    "h": 270.3
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#4259CF
secondary
#D5CB98
accent
#C945E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4259CF

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

Preview Lab → · Contrast checker → · Palette generator →

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