#2F46A2#2F46A2

#2F46A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 268.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2F46A2
RGBrgb(47, 70, 162)
HSLhsl(228, 55%, 41%)
HSVhsv(228, 71%, 64%)
CMYKcmyk(71%, 56.8%, 0%, 36.5%)
CIE-LABlab(33.12, 23.39, -52.47)
CIE-LCHlch(33.12, 57.45, 294.02°)
OKLaboklab(43.23% -0.0036 -0.1511)
OKLCHoklch(43.23% 0.151 268.6)
XYZxyz(9.8818, 7.5923, 35.1201)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46A2 #A28B2F
analogous
#2F7FA2 #2F46A2 #512FA2
triadic
#2F46A2 #A22F46 #46A22F
tetradic
#2F46A2 #A22F7F #A28B2F #2FA251
square
#2F46A2 #A22F7F #A28B2F #2FA251
split-complementary
#2F46A2 #A2512F #7FA22F
monochromatic
#131D43 #213273 #2F46A2 #4560C9 #7588D7

Accessibility & contrast

On white

8.34
#2F46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F46A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46A2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46A2#FFFFFF#000000##FFFFFF
##2F46A21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f46a2;
/* rgb */ color: rgb(47, 70, 162);
/* oklch */ color: oklch(43.2% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#7779be',
    500: '#2f46a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f46a2;
$custom-light: #7779be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46a2",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 228,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.15117,
    "h": 268.6
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#2F46A2
secondary
#BFAF6E
accent
#C149DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2F46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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