#2F46A3#2F46A3

#2F46A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.153 H 268.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2F46A3
RGBrgb(47, 70, 163)
HSLhsl(228, 55%, 41%)
HSVhsv(228, 71%, 64%)
CMYKcmyk(71.2%, 57.1%, 0%, 36.1%)
CIE-LABlab(33.20, 23.76, -52.95)
CIE-LCHlch(33.20, 58.04, 294.17°)
OKLaboklab(43.31% -0.0035 -0.1525)
OKLCHoklch(43.31% 0.153 268.7)
XYZxyz(9.9710, 7.6280, 35.5901)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46A3 #A38C2F
analogous
#2F80A3 #2F46A3 #522FA3
triadic
#2F46A3 #A32F46 #46A32F
tetradic
#2F46A3 #A32F80 #A38C2F #2FA352
square
#2F46A3 #A32F80 #A38C2F #2FA352
split-complementary
#2F46A3 #A3522F #80A32F
monochromatic
#141D44 #213273 #2F46A3 #4660CA #7589D7

Accessibility & contrast

On white

8.31
#2F46A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F46A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46A3
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46A3#FFFFFF#000000##FFFFFF
##2F46A31.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f46a3;
/* rgb */ color: rgb(47, 70, 163);
/* oklch */ color: oklch(43.3% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#7779bf',
    500: '#2f46a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f46a3;
$custom-light: #7779bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46a3",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 163
  },
  "hsl": {
    "h": 228.103,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.15257,
    "h": 268.7
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#2F46A3
secondary
#BFAF6F
accent
#C149DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F46A3

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

Preview Lab → · Contrast checker → · Palette generator →

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