#5F94F6#5F94F6

#5F94F6 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.5% C 0.156 H 261.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5F94F6
RGBrgb(95, 148, 246)
HSLhsl(219, 89%, 67%)
HSVhsv(219, 61%, 96%)
CMYKcmyk(61.4%, 39.8%, 0%, 3.5%)
CIE-LABlab(61.88, 11.92, -54.34)
CIE-LCHlch(61.88, 55.63, 282.37°)
OKLaboklab(67.51% -0.0226 -0.1546)
OKLCHoklch(67.51% 0.156 261.7)
XYZxyz(31.9379, 30.2636, 91.3293)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94F6 #F6C15F
analogous
#5FE0F6 #5F94F6 #765FF6
triadic
#5F94F6 #F65F94 #94F65F
tetradic
#5F94F6 #F65FE0 #F6C15F #5FF676
square
#5F94F6 #F65FE0 #F6C15F #5FF676
split-complementary
#5F94F6 #F6765F #E0F65F
monochromatic
#0C50CF #256DF3 #5F94F6 #99BBF9 #D3E1FD

Accessibility & contrast

On white

2.98
#5F94F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5F94F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F94F6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94F6#FFFFFF#000000##000000
##5F94F61.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#00AAB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f94f6;
/* rgb */ color: rgb(95, 148, 246);
/* oklch */ color: oklch(67.5% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#99b2f9',
    500: '#5f94f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f94f6;
$custom-light: #99b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94f6",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 246
  },
  "hsl": {
    "h": 218.94,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.15624,
    "h": 261.7
  },
  "luminance": 0.30267
}

Semantic roles & 50–950 ramp

primary
#5F94F6
secondary
#F1E0C0
accent
#9500E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F94F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5F94F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva