#4255D9#4255D9

#4255D9 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.201 H 271.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4255D9
RGBrgb(66, 85, 217)
HSLhsl(232, 67%, 55%)
HSVhsv(232, 70%, 85%)
CMYKcmyk(69.6%, 60.8%, 0%, 14.9%)
CIE-LABlab(42.25, 36.13, -69.79)
CIE-LCHlch(42.25, 78.58, 297.37°)
OKLaboklab(51.64% 0.0041 -0.2014)
OKLCHoklch(51.64% 0.201 271.2)
XYZxyz(18.0154, 12.6632, 67.1270)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4255D9 #D9C642
analogous
#42A1D9 #4255D9 #7A42D9
triadic
#4255D9 #D94255 #55D942
tetradic
#4255D9 #D942A1 #D9C642 #42D97A
square
#4255D9 #D942A1 #D9C642 #42D97A
split-complementary
#4255D9 #D97A42 #A1D942
monochromatic
#1B2886 #2538B9 #4255D9 #7583E3 #A8B1ED

Accessibility & contrast

On white

5.94
#4255D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4255D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4255D9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4255D9#FFFFFF#000000##FFFFFF
##4255D91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4255d9;
/* rgb */ color: rgb(66, 85, 217);
/* oklch */ color: oklch(51.6% 0.201 271.2);
Tailwind
colors: {
  custom: {
    50: '#8984e6',
    500: '#4255d9',
    950: '#000000',
  },
}
SCSS
$custom: #4255d9;
$custom-light: #8984e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4255d9",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 217
  },
  "hsl": {
    "h": 232.45,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51641,
    "c": 0.20143,
    "h": 271.2
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#4255D9
secondary
#DBD39C
accent
#D43EE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4255D9

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

Preview Lab → · Contrast checker → · Palette generator →

#4255D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva