#2F64AE#2F64AE

#2F64AE is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.6% C 0.131 H 257.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F64AE
RGBrgb(47, 100, 174)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 73%, 68%)
CMYKcmyk(73%, 42.5%, 0%, 31.8%)
CIE-LABlab(42.42, 8.21, -44.63)
CIE-LCHlch(42.42, 45.38, 280.42°)
OKLaboklab(50.59% -0.0287 -0.1275)
OKLCHoklch(50.59% 0.131 257.3)
XYZxyz(13.3667, 12.7732, 41.7972)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64AE #AE792F
analogous
#2FA3AE #2F64AE #3A2FAE
triadic
#2F64AE #AE2F64 #64AE2F
tetradic
#2F64AE #AE2FA3 #AE792F #2FAE3A
square
#2F64AE #AE2FA3 #AE792F #2FAE3A
split-complementary
#2F64AE #AE3A2F #A3AE2F
monochromatic
#152D4E #22487E #2F64AE #4C82CF #7CA4DC

Accessibility & contrast

On white

5.91
#2F64AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F64AE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64AE#FFFFFF#000000##FFFFFF
##2F64AE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f64ae;
/* rgb */ color: rgb(47, 100, 174);
/* oklch */ color: oklch(50.6% 0.131 257.3);
Tailwind
colors: {
  custom: {
    50: '#788fc6',
    500: '#2f64ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f64ae;
$custom-light: #788fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64ae",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 214.961,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.13073,
    "h": 257.3
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F64AE

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

Preview Lab → · Contrast checker → · Palette generator →

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