#4262EF#4262EF

#4262EF is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 55.8% C 0.214 H 268.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4262EF
RGBrgb(66, 98, 239)
HSLhsl(229, 84%, 60%)
HSVhsv(229, 72%, 94%)
CMYKcmyk(72.4%, 59%, 0%, 6.3%)
CIE-LABlab(47.14, 35.73, -74.27)
CIE-LCHlch(47.14, 82.42, 295.69°)
OKLaboklab(55.8% -0.0052 -0.2144)
OKLCHoklch(55.8% 0.214 268.6)
XYZxyz(22.1891, 16.1233, 83.5873)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4262EF #EFCF42
analogous
#42B8EF #4262EF #7942EF
triadic
#4262EF #EF4262 #62EF42
tetradic
#4262EF #EF42B8 #EFCF42 #42EF79
square
#4262EF #EF42B8 #EFCF42 #42EF79
split-complementary
#4262EF #EF7942 #B8EF42
monochromatic
#0E2BA8 #1339E1 #4262EF #7A91F4 #B3C0F9

Accessibility & contrast

On white

4.97
#4262EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4262EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4262EF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4262EF#FFFFFF#000000##FFFFFF
##4262EF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4262ef;
/* rgb */ color: rgb(66, 98, 239);
/* oklch */ color: oklch(55.8% 0.214 268.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ef5',
    500: '#4262ef',
    950: '#000000',
  },
}
SCSS
$custom: #4262ef;
$custom-light: #8d8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#4262ef",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 228.902,
    "s": 84.39,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.21448,
    "h": 268.6
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#4262EF
secondary
#E8DBA5
accent
#D52DFB
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4262EF

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

Preview Lab → · Contrast checker → · Palette generator →

#4262EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva