#2F64BA#2F64BA

#2F64BA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.147 H 259.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2F64BA
RGBrgb(47, 100, 186)
HSLhsl(217, 60%, 46%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.7%, 46.2%, 0%, 27.1%)
CIE-LABlab(43.16, 12.73, -50.47)
CIE-LCHlch(43.16, 52.05, 284.16°)
OKLaboklab(51.39% -0.0264 -0.1447)
OKLCHoklch(51.39% 0.147 259.7)
XYZxyz(14.5892, 13.2622, 48.2358)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F64BA #BA852F
analogous
#2FA9BA #2F64BA #3F2FBA
triadic
#2F64BA #BA2F64 #64BA2F
tetradic
#2F64BA #BA2FA9 #BA852F #2FBA3F
square
#2F64BA #BA2FA9 #BA852F #2FBA3F
split-complementary
#2F64BA #BA3F2F #A9BA2F
monochromatic
#162F58 #234A89 #2F64BA #5384D3 #84A7E0

Accessibility & contrast

On white

5.75
#2F64BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2F64BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F64BA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F64BA#FFFFFF#000000##FFFFFF
##2F64BA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#1660B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f64ba;
/* rgb */ color: rgb(47, 100, 186);
/* oklch */ color: oklch(51.4% 0.147 259.7);
Tailwind
colors: {
  custom: {
    50: '#7a8fcf',
    500: '#2f64ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f64ba;
$custom-light: #7a8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f64ba",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 217.122,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.14711,
    "h": 259.7
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#2F64BA
secondary
#C9AC7C
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F64BA

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

Preview Lab → · Contrast checker → · Palette generator →

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