#2F64AB#2F64AB

#2F64AB is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.127 H 256.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2F64AB
RGBrgb(47, 100, 171)
HSLhsl(214, 57%, 43%)
HSVhsv(214, 73%, 67%)
CMYKcmyk(72.5%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.24, 7.08, -43.15)
CIE-LCHlch(42.24, 43.73, 279.32°)
OKLaboklab(50.39% -0.0293 -0.1232)
OKLCHoklch(50.39% 0.127 256.6)
XYZxyz(13.0775, 12.6575, 40.2741)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64AB #AB762F
analogous
#2FA2AB #2F64AB #382FAB
triadic
#2F64AB #AB2F64 #64AB2F
tetradic
#2F64AB #AB2FA2 #AB762F #2FAB38
square
#2F64AB #AB2FA2 #AB762F #2FAB38
split-complementary
#2F64AB #AB382F #A2AB2F
monochromatic
#152C4B #22487B #2F64AB #4A82CD #7AA3DA

Accessibility & contrast

On white

5.95
#2F64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64AB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64AB#FFFFFF#000000##FFFFFF
##2F64AB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f64ab;
/* rgb */ color: rgb(47, 100, 171);
/* oklch */ color: oklch(50.4% 0.127 256.6);
Tailwind
colors: {
  custom: {
    50: '#778fc4',
    500: '#2f64ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f64ab;
$custom-light: #778fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64ab",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 214.355,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.12664,
    "h": 256.6
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#2F64AB
secondary
#C3A173
accent
#9F48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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