#2F64AF#2F64AF

#2F64AF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.132 H 257.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F64AF
RGBrgb(47, 100, 175)
HSLhsl(215, 58%, 44%)
HSVhsv(215, 73%, 69%)
CMYKcmyk(73.1%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.48, 8.58, -45.12)
CIE-LCHlch(42.48, 45.93, 280.77°)
OKLaboklab(50.65% -0.0284 -0.129)
OKLCHoklch(50.65% 0.132 257.6)
XYZxyz(13.4645, 12.8124, 42.3125)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64AF #AF7A2F
analogous
#2FA4AF #2F64AF #3A2FAF
triadic
#2F64AF #AF2F64 #64AF2F
tetradic
#2F64AF #AF2FA4 #AF7A2F #2FAF3A
square
#2F64AF #AF2FA4 #AF7A2F #2FAF3A
split-complementary
#2F64AF #AF3A2F #A4AF2F
monochromatic
#152D4F #22487F #2F64AF #4C82CF #7CA4DC

Accessibility & contrast

On white

5.89
#2F64AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2F64AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64AF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64AF#FFFFFF#000000##FFFFFF
##2F64AF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f64af;
/* rgb */ color: rgb(47, 100, 175);
/* oklch */ color: oklch(50.7% 0.132 257.6);
Tailwind
colors: {
  custom: {
    50: '#788fc7',
    500: '#2f64af',
    950: '#000000',
  },
}
SCSS
$custom: #2f64af;
$custom-light: #788fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64af",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 215.156,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.1321,
    "h": 257.6
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#2F64AF
secondary
#C4A475
accent
#A147E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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