#2F59AF#2F59AF

#2F59AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.145 H 262.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2F59AF
RGBrgb(47, 89, 175)
HSLhsl(220, 58%, 44%)
HSVhsv(220, 73%, 69%)
CMYKcmyk(73.1%, 49.1%, 0%, 31.4%)
CIE-LABlab(39.31, 15.71, -50.20)
CIE-LCHlch(39.31, 52.60, 287.37°)
OKLaboklab(48.22% -0.0186 -0.1441)
OKLCHoklch(48.22% 0.145 262.7)
XYZxyz(12.4798, 10.8429, 41.9843)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59AF #AF852F
analogous
#2F99AF #2F59AF #452FAF
triadic
#2F59AF #AF2F59 #59AF2F
tetradic
#2F59AF #AF2F99 #AF852F #2FAF45
square
#2F59AF #AF2F99 #AF852F #2FAF45
split-complementary
#2F59AF #AF452F #99AF2F
monochromatic
#15284F #22407F #2F59AF #4C77CF #7C9CDC

Accessibility & contrast

On white

6.63
#2F59AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F59AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59AF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59AF#FFFFFF#000000##FFFFFF
##2F59AF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f59af;
/* rgb */ color: rgb(47, 89, 175);
/* oklch */ color: oklch(48.2% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#7887c7',
    500: '#2f59af',
    950: '#000000',
  },
}
SCSS
$custom: #2f59af;
$custom-light: #7887c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59af",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 220.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.14532,
    "h": 262.7
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#2F59AF
secondary
#C4AB75
accent
#AE47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2F59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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