#2F65DF#2F65DF

#2F65DF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.195 H 263.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F65DF
RGBrgb(47, 101, 223)
HSLhsl(222, 73%, 53%)
HSVhsv(222, 79%, 87%)
CMYKcmyk(78.9%, 54.7%, 0%, 12.5%)
CIE-LABlab(45.96, 26.01, -67.20)
CIE-LCHlch(45.96, 72.06, 291.16°)
OKLaboklab(54.34% -0.0226 -0.1939)
OKLCHoklch(54.34% 0.195 263.3)
XYZxyz(19.1405, 15.2372, 71.7300)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F65DF #DFA92F
analogous
#2FBDDF #2F65DF #512FDF
triadic
#2F65DF #DF2F65 #65DF2F
tetradic
#2F65DF #DF2FBD #DFA92F #2FDF51
square
#2F65DF #DF2FBD #DFA92F #2FDF51
split-complementary
#2F65DF #DF512F #BDDF2F
monochromatic
#143580 #1C4BB5 #2F65DF #648CE7 #99B4EF

Accessibility & contrast

On white

5.19
#2F65DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F65DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F65DF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F65DF#FFFFFF#000000##FFFFFF
##2F65DF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f65df;
/* rgb */ color: rgb(47, 101, 223);
/* oklch */ color: oklch(54.3% 0.195 263.3);
Tailwind
colors: {
  custom: {
    50: '#8390ea',
    500: '#2f65df',
    950: '#000000',
  },
}
SCSS
$custom: #2f65df;
$custom-light: #8390ea;
$custom-dark: #000000;
JSON
{
  "hex": "#2f65df",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 221.591,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54335,
    "c": 0.19525,
    "h": 263.3
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#2F65DF
secondary
#DBC48F
accent
#B738F0
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F65DF

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

Preview Lab → · Contrast checker → · Palette generator →

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