#2F46B3#2F46B3

#2F46B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.174 H 268.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2F46B3
RGBrgb(47, 70, 179)
HSLhsl(230, 58%, 44%)
HSVhsv(230, 74%, 70%)
CMYKcmyk(73.7%, 60.9%, 0%, 29.8%)
CIE-LABlab(34.47, 29.71, -60.42)
CIE-LCHlch(34.47, 67.33, 296.19°)
OKLaboklab(44.66% -0.0032 -0.1745)
OKLCHoklch(44.66% 0.174 268.9)
XYZxyz(11.4963, 8.2381, 43.6233)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46B3 #B39C2F
analogous
#2F88B3 #2F46B3 #5A2FB3
triadic
#2F46B3 #B32F46 #46B32F
tetradic
#2F46B3 #B32F88 #B39C2F #2FB35A
square
#2F46B3 #B32F88 #B39C2F #2FB35A
split-complementary
#2F46B3 #B35A2F #88B32F
monochromatic
#162052 #223383 #2F46B3 #4F65D1 #7F8FDD

Accessibility & contrast

On white

7.93
#2F46B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F46B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46B3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46B3#FFFFFF#000000##FFFFFF
##2F46B31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f46b3;
/* rgb */ color: rgb(47, 70, 179);
/* oklch */ color: oklch(44.7% 0.174 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b79cb',
    500: '#2f46b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f46b3;
$custom-light: #7b79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46b3",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 229.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44661,
    "c": 0.17449,
    "h": 268.9
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#2F46B3
secondary
#C6B878
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2F46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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