#2F46BE#2F46BE

#2F46BE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.189 H 269.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2F46BE
RGBrgb(47, 70, 190)
HSLhsl(230, 60%, 46%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(75.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(35.40, 33.74, -65.39)
CIE-LCHlch(35.40, 73.58, 297.30°)
OKLaboklab(45.63% -0.0034 -0.189)
OKLCHoklch(45.63% 0.189 269)
XYZxyz(12.6535, 8.7010, 49.7178)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46BE #BEA72F
analogous
#2F8EBE #2F46BE #602FBE
triadic
#2F46BE #BE2F46 #46BE2F
tetradic
#2F46BE #BE2F8E #BEA72F #2FBE60
square
#2F46BE #BE2F8E #BEA72F #2FBE60
split-complementary
#2F46BE #BE602F #8EBE2F
monochromatic
#17225C #23348D #2F46BE #556AD5 #8695E1

Accessibility & contrast

On white

7.66
#2F46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2F46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46BE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46BE#FFFFFF#000000##FFFFFF
##2F46BE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f46be;
/* rgb */ color: rgb(47, 70, 190);
/* oklch */ color: oklch(45.6% 0.189 269.0);
Tailwind
colors: {
  custom: {
    50: '#7d79d3',
    500: '#2f46be',
    950: '#000000',
  },
}
SCSS
$custom: #2f46be;
$custom-light: #7d79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46be",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 230.35,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.18906,
    "h": 269
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#2F46BE
secondary
#CBBE7E
accent
#CA44E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2F46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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