#2F64E2#2F64E2

#2F64E2 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.4% C 0.200 H 263.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F64E2
RGBrgb(47, 100, 226)
HSLhsl(222, 76%, 54%)
HSVhsv(222, 79%, 89%)
CMYKcmyk(79.2%, 55.8%, 0%, 11.4%)
CIE-LABlab(45.92, 27.77, -68.97)
CIE-LCHlch(45.92, 74.35, 291.93°)
OKLaboklab(54.37% -0.0218 -0.1991)
OKLCHoklch(54.37% 0.2 263.8)
XYZxyz(19.4520, 15.2074, 73.8469)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64E2 #E2AD2F
analogous
#2FBDE2 #2F64E2 #532FE2
triadic
#2F64E2 #E22F64 #64E22F
tetradic
#2F64E2 #E22FBD #E2AD2F #2FE253
square
#2F64E2 #E22FBD #E2AD2F #2FE253
split-complementary
#2F64E2 #E2532F #BDE22F
monochromatic
#123484 #1A49BA #2F64E2 #658CE9 #9AB4F1

Accessibility & contrast

On white

5.20
#2F64E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F64E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64E2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64E2#FFFFFF#000000##FFFFFF
##2F64E21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f64e2;
/* rgb */ color: rgb(47, 100, 226);
/* oklch */ color: oklch(54.4% 0.200 263.8);
Tailwind
colors: {
  custom: {
    50: '#838fec',
    500: '#2f64e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f64e2;
$custom-light: #838fec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64e2",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 222.235,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.20032,
    "h": 263.8
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#2F64E2
secondary
#DDC690
accent
#BA36F2
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2F64E2

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

Preview Lab → · Contrast checker → · Palette generator →

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