#2F65C4#2F65C4

#2F65C4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.159 H 260.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2F65C4
RGBrgb(47, 101, 196)
HSLhsl(218, 61%, 48%)
HSVhsv(218, 76%, 77%)
CMYKcmyk(76%, 48.5%, 0%, 23.1%)
CIE-LABlab(44.08, 15.87, -54.78)
CIE-LCHlch(44.08, 57.03, 286.15°)
OKLaboklab(52.31% -0.0256 -0.1574)
OKLCHoklch(52.31% 0.159 260.8)
XYZxyz(15.7862, 13.8954, 54.0640)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65C4 #C48E2F
analogous
#2FAFC4 #2F65C4 #432FC4
triadic
#2F65C4 #C42F65 #65C42F
tetradic
#2F65C4 #C42FAF #C48E2F #2FC443
square
#2F65C4 #C42FAF #C48E2F #2FC443
split-complementary
#2F65C4 #C4432F #AFC42F
monochromatic
#173261 #234C93 #2F65C4 #5987D7 #8AABE3

Accessibility & contrast

On white

5.56
#2F65C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2F65C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65C4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65C4#FFFFFF#000000##FFFFFF
##2F65C41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC7
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f65c4;
/* rgb */ color: rgb(47, 101, 196);
/* oklch */ color: oklch(52.3% 0.159 260.8);
Tailwind
colors: {
  custom: {
    50: '#7d90d6',
    500: '#2f65c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f65c4;
$custom-light: #7d90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65c4",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 196
  },
  "hsl": {
    "h": 218.255,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.15946,
    "h": 260.8
  },
  "luminance": 0.13897
}

Semantic roles & 50–950 ramp

primary
#2F65C4
secondary
#CDB282
accent
#AA43E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F65C4

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

Preview Lab → · Contrast checker → · Palette generator →

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