#2F64C0#2F64C0

#2F64C0 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.155 H 260.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F64C0
RGBrgb(47, 100, 192)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 76%, 75%)
CMYKcmyk(75.5%, 47.9%, 0%, 24.7%)
CIE-LABlab(43.54, 15.00, -53.34)
CIE-LCHlch(43.54, 55.41, 285.70°)
OKLaboklab(51.81% -0.0254 -0.1532)
OKLCHoklch(51.81% 0.155 260.6)
XYZxyz(15.2405, 13.5227, 51.6659)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64C0 #C08B2F
analogous
#2FADC0 #2F64C0 #432FC0
triadic
#2F64C0 #C02F64 #64C02F
tetradic
#2F64C0 #C02FAD #C08B2F #2FC043
square
#2F64C0 #C02FAD #C08B2F #2FC043
split-complementary
#2F64C0 #C0432F #ADC02F
monochromatic
#17315E #234A8F #2F64C0 #5685D6 #88A9E2

Accessibility & contrast

On white

5.67
#2F64C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F64C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64C0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64C0#FFFFFF#000000##FFFFFF
##2F64C01.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#0061BE
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f64c0;
/* rgb */ color: rgb(47, 100, 192);
/* oklch */ color: oklch(51.8% 0.155 260.6);
Tailwind
colors: {
  custom: {
    50: '#7c8fd4',
    500: '#2f64c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f64c0;
$custom-light: #7c8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64c0",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 218.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.15525,
    "h": 260.6
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#2F64C0
secondary
#CBB07F
accent
#A944E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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