#2F45FF#2F45FF

#2F45FF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.8% C 0.269 H 268.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2F45FF
RGBrgb(47, 69, 255)
HSLhsl(234, 100%, 59%)
HSVhsv(234, 82%, 100%)
CMYKcmyk(81.6%, 72.9%, 0%, 0%)
CIE-LABlab(41.34, 56.76, -92.78)
CIE-LCHlch(41.34, 108.76, 301.46°)
OKLaboklab(51.79% -0.0086 -0.2689)
OKLCHoklch(51.79% 0.269 268.2)
XYZxyz(21.3442, 12.0780, 95.7947)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F45FF #FFE92F
analogous
#2FADFF #2F45FF #812FFF
triadic
#2F45FF #FF2F45 #45FF2F
tetradic
#2F45FF #FF2FAD #FFE92F #2FFF81
square
#2F45FF #FF2FAD #FFE92F #2FFF81
split-complementary
#2F45FF #FF812F #ADFF2F
monochromatic
#0013B4 #0019F1 #2F45FF #6C7CFF #A9B2FF

Accessibility & contrast

On white

6.15
#2F45FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2F45FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F45FF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F45FF#FFFFFF#000000##FFFFFF
##2F45FF1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0057FC
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f45ff;
/* rgb */ color: rgb(47, 69, 255);
/* oklch */ color: oklch(51.8% 0.269 268.2);
Tailwind
colors: {
  custom: {
    50: '#8d7aff',
    500: '#2f45ff',
    950: '#000000',
  },
}
SCSS
$custom: #2f45ff;
$custom-light: #8d7aff;
$custom-dark: #000000;
JSON
{
  "hex": "#2f45ff",
  "rgb": {
    "r": 47,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 233.654,
    "s": 100,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51785,
    "c": 0.26905,
    "h": 268.2
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#2F45FF
secondary
#EEE59C
accent
#E829FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0918
muted
#7E7B86

Preview Lab

Preview with #2F45FF

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

Preview Lab → · Contrast checker → · Palette generator →

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