#2F64A9#2F64A9

#2F64A9 is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.3% C 0.124 H 256.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F64A9
RGBrgb(47, 100, 169)
HSLhsl(214, 56%, 42%)
HSVhsv(214, 72%, 66%)
CMYKcmyk(72.2%, 40.8%, 0%, 33.7%)
CIE-LABlab(42.13, 6.33, -42.15)
CIE-LCHlch(42.13, 42.63, 278.54°)
OKLaboklab(50.27% -0.0298 -0.1203)
OKLCHoklch(50.27% 0.124 256.1)
XYZxyz(12.8883, 12.5819, 39.2777)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64A9 #A9742F
analogous
#2FA1A9 #2F64A9 #372FA9
triadic
#2F64A9 #A92F64 #64A92F
tetradic
#2F64A9 #A92FA1 #A9742F #2FA937
square
#2F64A9 #A92FA1 #A9742F #2FA937
split-complementary
#2F64A9 #A9372F #A1A92F
monochromatic
#142B49 #224879 #2F64A9 #4982CC #79A3DA

Accessibility & contrast

On white

5.97
#2F64A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F64A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64A9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64A9#FFFFFF#000000##FFFFFF
##2F64A91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f64a9;
/* rgb */ color: rgb(47, 100, 169);
/* oklch */ color: oklch(50.3% 0.124 256.1);
Tailwind
colors: {
  custom: {
    50: '#778fc3',
    500: '#2f64a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f64a9;
$custom-light: #778fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64a9",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 169
  },
  "hsl": {
    "h": 213.934,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.12391,
    "h": 256.1
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#2F64A9
secondary
#C29F72
accent
#9E48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F64A9

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

Preview Lab → · Contrast checker → · Palette generator →

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