#2F64AC#2F64AC

#2F64AC is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.5% C 0.128 H 256.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2F64AC
RGBrgb(47, 100, 172)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 73%, 67%)
CMYKcmyk(72.7%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.30, 7.46, -43.64)
CIE-LCHlch(42.30, 44.28, 279.69°)
OKLaboklab(50.46% -0.0291 -0.1246)
OKLCHoklch(50.46% 0.128 256.9)
XYZxyz(13.1731, 12.6958, 40.7780)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64AC #AC772F
analogous
#2FA2AC #2F64AC #382FAC
triadic
#2F64AC #AC2F64 #64AC2F
tetradic
#2F64AC #AC2FA2 #AC772F #2FAC38
square
#2F64AC #AC2FA2 #AC772F #2FAC38
split-complementary
#2F64AC #AC382F #A2AC2F
monochromatic
#152C4C #22487C #2F64AC #4B82CE #7BA3DB

Accessibility & contrast

On white

5.93
#2F64AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F64AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64AC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64AC#FFFFFF#000000##FFFFFF
##2F64AC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f64ac;
/* rgb */ color: rgb(47, 100, 172);
/* oklch */ color: oklch(50.5% 0.128 256.9);
Tailwind
colors: {
  custom: {
    50: '#788fc5',
    500: '#2f64ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f64ac;
$custom-light: #788fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64ac",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 214.56,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.128,
    "h": 256.9
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#2F64AC
secondary
#C3A174
accent
#A047E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F64AC

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

Preview Lab → · Contrast checker → · Palette generator →

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