#2F64AA#2F64AA

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

Color values

HEX#2F64AA
RGBrgb(47, 100, 170)
HSLhsl(214, 57%, 43%)
HSVhsv(214, 72%, 67%)
CMYKcmyk(72.4%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.18, 6.70, -42.65)
CIE-LCHlch(42.18, 43.18, 278.93°)
OKLaboklab(50.33% -0.0295 -0.1217)
OKLCHoklch(50.33% 0.125 256.4)
XYZxyz(12.9825, 12.6196, 39.7740)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64AA #AA752F
analogous
#2FA2AA #2F64AA #372FAA
triadic
#2F64AA #AA2F64 #64AA2F
tetradic
#2F64AA #AA2FA2 #AA752F #2FAA37
square
#2F64AA #AA2FA2 #AA752F #2FAA37
split-complementary
#2F64AA #AA372F #A2AA2F
monochromatic
#142C4A #22487A #2F64AA #4982CD #79A3DA

Accessibility & contrast

On white

5.96
#2F64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F64AA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64AA#FFFFFF#000000##FFFFFF
##2F64AA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f64aa;
/* rgb */ color: rgb(47, 100, 170);
/* oklch */ color: oklch(50.3% 0.125 256.4);
Tailwind
colors: {
  custom: {
    50: '#778fc4',
    500: '#2f64aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f64aa;
$custom-light: #778fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64aa",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 214.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.12527,
    "h": 256.4
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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