#4075EF#4075EF

#4075EF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.193 H 263.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4075EF
RGBrgb(64, 117, 239)
HSLhsl(222, 85%, 59%)
HSVhsv(222, 73%, 94%)
CMYKcmyk(73.2%, 51%, 0%, 6.3%)
CIE-LABlab(51.88, 23.64, -66.57)
CIE-LCHlch(51.88, 70.64, 289.55°)
OKLaboklab(59.35% -0.0207 -0.1915)
OKLCHoklch(59.35% 0.193 263.8)
XYZxyz(24.0501, 20.0419, 84.2456)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075EF #EFBA40
analogous
#40CCEF #4075EF #6340EF
triadic
#4075EF #EF4075 #75EF40
tetradic
#4075EF #EF40CC #EFBA40 #40EF63
square
#4075EF #EF40CC #EFBA40 #40EF63
split-complementary
#4075EF #EF6340 #CCEF40
monochromatic
#0E3CA7 #1351DF #4075EF #789EF4 #B1C7F8

Accessibility & contrast

On white

4.19
#4075EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4075EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075EF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075EF#FFFFFF#000000##000000
##4075EF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4075ef;
/* rgb */ color: rgb(64, 117, 239);
/* oklch */ color: oklch(59.3% 0.193 263.8);
Tailwind
colors: {
  custom: {
    50: '#8b9cf5',
    500: '#4075ef',
    950: '#000000',
  },
}
SCSS
$custom: #4075ef;
$custom-light: #8b9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4075ef",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 221.829,
    "s": 84.541,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.19264,
    "h": 263.8
  },
  "luminance": 0.20045
}

Semantic roles & 50–950 ramp

primary
#4075EF
secondary
#E7D3A3
accent
#BC2DFB
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4075EF

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

Preview Lab → · Contrast checker → · Palette generator →

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