#5F74BB#5F74BB

#5F74BB is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.4% C 0.112 H 270.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5F74BB
RGBrgb(95, 116, 187)
HSLhsl(226, 40%, 55%)
HSVhsv(226, 49%, 73%)
CMYKcmyk(49.2%, 38%, 0%, 26.7%)
CIE-LABlab(50.11, 12.10, -39.83)
CIE-LCHlch(50.11, 41.63, 286.90°)
OKLaboklab(57.42% 0.0002 -0.1125)
OKLCHoklch(57.42% 0.112 270.1)
XYZxyz(19.9315, 18.5103, 49.5267)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F74BB #BBA65F
analogous
#5FA2BB #5F74BB #785FBB
triadic
#5F74BB #BB5F74 #74BB5F
tetradic
#5F74BB #BB5FA2 #BBA65F #5FBB78
square
#5F74BB #BB5FA2 #BBA65F #5FBB78
split-complementary
#5F74BB #BB785F #A2BB5F
monochromatic
#303E70 #42569B #5F74BB #8A99CD #B5BFE0

Accessibility & contrast

On white

4.47
#5F74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5F74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F74BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F74BB#FFFFFF#000000##000000
##5F74BB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBE
Deuteranopia (green-blind)
#4F74B9
Tritanopia (blue-blind)
#39838E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f74bb;
/* rgb */ color: rgb(95, 116, 187);
/* oklch */ color: oklch(57.4% 0.112 270.1);
Tailwind
colors: {
  custom: {
    50: '#919bd0',
    500: '#5f74bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f74bb;
$custom-light: #919bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f74bb",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 226.304,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.11246,
    "h": 270.1
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#5F74BB
secondary
#CEC5A8
accent
#B558D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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