#2F59D3#2F59D3

#2F59D3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.194 H 265.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2F59D3
RGBrgb(47, 89, 211)
HSLhsl(225, 65%, 51%)
HSVhsv(225, 78%, 83%)
CMYKcmyk(77.7%, 57.8%, 0%, 17.3%)
CIE-LABlab(41.92, 29.25, -66.92)
CIE-LCHlch(41.92, 73.03, 293.61°)
OKLaboklab(51.02% -0.0155 -0.1933)
OKLCHoklch(51.02% 0.194 265.4)
XYZxyz(16.4984, 12.4503, 63.1490)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59D3 #D3A92F
analogous
#2FABD3 #2F59D3 #572FD3
triadic
#2F59D3 #D32F59 #59D32F
tetradic
#2F59D3 #D32FAB #D3A92F #2FD357
square
#2F59D3 #D32FAB #D3A92F #2FD357
split-complementary
#2F59D3 #D3572F #ABD32F
monochromatic
#182E70 #2243A2 #2F59D3 #6281DE #94AAE8

Accessibility & contrast

On white

6.02
#2F59D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F59D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59D3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59D3#FFFFFF#000000##FFFFFF
##2F59D31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f59d3;
/* rgb */ color: rgb(47, 89, 211);
/* oklch */ color: oklch(51.0% 0.194 265.4);
Tailwind
colors: {
  custom: {
    50: '#8187e1',
    500: '#2f59d3',
    950: '#000000',
  },
}
SCSS
$custom: #2f59d3;
$custom-light: #8187e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59d3",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 211
  },
  "hsl": {
    "h": 224.634,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.19392,
    "h": 265.4
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#2F59D3
secondary
#D3C18A
accent
#BD40E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2F59D3

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

Preview Lab → · Contrast checker → · Palette generator →

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