#2F64C2#2F64C2

#2F64C2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.158 H 260.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F64C2
RGBrgb(47, 100, 194)
HSLhsl(218, 61%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(75.8%, 48.5%, 0%, 23.9%)
CIE-LABlab(43.67, 15.75, -54.29)
CIE-LCHlch(43.67, 56.53, 286.18°)
OKLaboklab(51.96% -0.0251 -0.1559)
OKLCHoklch(51.96% 0.158 260.9)
XYZxyz(15.4636, 13.6120, 52.8409)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64C2 #C28D2F
analogous
#2FAEC2 #2F64C2 #432FC2
triadic
#2F64C2 #C22F64 #64C22F
tetradic
#2F64C2 #C22FAE #C28D2F #2FC243
square
#2F64C2 #C22FAE #C28D2F #2FC243
split-complementary
#2F64C2 #C2432F #AEC22F
monochromatic
#17315F #234B91 #2F64C2 #5885D6 #89A9E2

Accessibility & contrast

On white

5.64
#2F64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2F64C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64C2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64C2#FFFFFF#000000##FFFFFF
##2F64C21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f64c2;
/* rgb */ color: rgb(47, 100, 194);
/* oklch */ color: oklch(52.0% 0.158 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8fd5',
    500: '#2f64c2',
    950: '#000000',
  },
}
SCSS
$custom: #2f64c2;
$custom-light: #7c8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64c2",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 218.367,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.15796,
    "h": 260.9
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#2F64C2
secondary
#CCB181
accent
#AA44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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