#2F59BC#2F59BC

#2F59BC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.163 H 264.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2F59BC
RGBrgb(47, 89, 188)
HSLhsl(222, 60%, 46%)
HSVhsv(222, 75%, 74%)
CMYKcmyk(75%, 52.7%, 0%, 26.3%)
CIE-LABlab(40.21, 20.63, -56.39)
CIE-LCHlch(40.21, 60.04, 290.09°)
OKLaboklab(49.19% -0.017 -0.1623)
OKLCHoklch(49.19% 0.163 264)
XYZxyz(13.8185, 11.3784, 49.0352)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59BC #BC922F
analogous
#2F9FBC #2F59BC #4C2FBC
triadic
#2F59BC #BC2F59 #59BC2F
tetradic
#2F59BC #BC2F9F #BC922F #2FBC4C
square
#2F59BC #BC2F9F #BC922F #2FBC4C
split-complementary
#2F59BC #BC4C2F #9FBC2F
monochromatic
#172B5A #23428B #2F59BC #547AD4 #85A0E0

Accessibility & contrast

On white

6.41
#2F59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2F59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59BC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59BC#FFFFFF#000000##FFFFFF
##2F59BC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f59bc;
/* rgb */ color: rgb(47, 89, 188);
/* oklch */ color: oklch(49.2% 0.163 264.0);
Tailwind
colors: {
  custom: {
    50: '#7b87d1',
    500: '#2f59bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f59bc;
$custom-light: #7b87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59bc",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 222.128,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.16322,
    "h": 264
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#2F59BC
secondary
#CAB37D
accent
#B445E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2F59BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2F59BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva