#2F64E0#2F64E0

#2F64E0 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.198 H 263.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F64E0
RGBrgb(47, 100, 224)
HSLhsl(222, 74%, 53%)
HSVhsv(222, 79%, 88%)
CMYKcmyk(79%, 55.4%, 0%, 12.2%)
CIE-LABlab(45.77, 27.03, -68.08)
CIE-LCHlch(45.77, 73.24, 291.65°)
OKLaboklab(54.22% -0.0219 -0.1965)
OKLCHoklch(54.22% 0.198 263.6)
XYZxyz(19.1792, 15.0982, 72.4100)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64E0 #E0AB2F
analogous
#2FBCE0 #2F64E0 #522FE0
triadic
#2F64E0 #E02F64 #64E02F
tetradic
#2F64E0 #E02FBC #E0AB2F #2FE052
square
#2F64E0 #E02FBC #E0AB2F #2FE052
split-complementary
#2F64E0 #E0522F #BCE02F
monochromatic
#133481 #1B4AB7 #2F64E0 #648CE8 #9AB3F0

Accessibility & contrast

On white

5.22
#2F64E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F64E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64E0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64E0#FFFFFF#000000##FFFFFF
##2F64E01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f64e0;
/* rgb */ color: rgb(47, 100, 224);
/* oklch */ color: oklch(54.2% 0.198 263.6);
Tailwind
colors: {
  custom: {
    50: '#838feb',
    500: '#2f64e0',
    950: '#000000',
  },
}
SCSS
$custom: #2f64e0;
$custom-light: #838feb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64e0",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 224
  },
  "hsl": {
    "h": 222.034,
    "s": 74.059,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.19773,
    "h": 263.6
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#2F64E0
secondary
#DCC58F
accent
#B937F1
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2F64E0

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

Preview Lab → · Contrast checker → · Palette generator →

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