#4253A2#4253A2

#4253A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.128 H 271.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4253A2
RGBrgb(66, 83, 162)
HSLhsl(229, 42%, 45%)
HSVhsv(229, 59%, 64%)
CMYKcmyk(59.3%, 48.8%, 0%, 36.5%)
CIE-LABlab(37.76, 18.14, -44.93)
CIE-LCHlch(37.76, 48.45, 291.98°)
OKLaboklab(47.02% 0.0034 -0.1283)
OKLCHoklch(47.02% 0.128 271.5)
XYZxyz(11.8595, 9.9525, 35.4715)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4253A2 #A29142
analogous
#4283A2 #4253A2 #6142A2
triadic
#4253A2 #A24253 #53A242
tetradic
#4253A2 #A24283 #A29142 #42A261
square
#4253A2 #A24283 #A29142 #42A261
split-complementary
#4253A2 #A26142 #83A242
monochromatic
#1F264B #303D77 #4253A2 #6273BF #8E9AD1

Accessibility & contrast

On white

7.02
#4253A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4253A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4253A2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4253A2#FFFFFF#000000##FFFFFF
##4253A21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4253a2;
/* rgb */ color: rgb(66, 83, 162);
/* oklch */ color: oklch(47.0% 0.128 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f83be',
    500: '#4253a2',
    950: '#000000',
  },
}
SCSS
$custom: #4253a2;
$custom-light: #7f83be;
$custom-dark: #000000;
JSON
{
  "hex": "#4253a2",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 229.375,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.12838,
    "h": 271.5
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#4253A2
secondary
#BCB284
accent
#BC56D2
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4253A2

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

Preview Lab → · Contrast checker → · Palette generator →

#4253A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva