#2F46B9#2F46B9

#2F46B9 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.182 H 269.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2F46B9
RGBrgb(47, 70, 185)
HSLhsl(230, 59%, 45%)
HSVhsv(230, 75%, 73%)
CMYKcmyk(74.6%, 62.2%, 0%, 27.5%)
CIE-LABlab(34.98, 31.92, -63.14)
CIE-LCHlch(34.98, 70.75, 296.82°)
OKLaboklab(45.19% -0.0033 -0.1825)
OKLCHoklch(45.19% 0.182 269)
XYZxyz(12.1164, 8.4861, 46.8890)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F46B9 #B9A22F
analogous
#2F8BB9 #2F46B9 #5D2FB9
triadic
#2F46B9 #B92F46 #46B92F
tetradic
#2F46B9 #B92F8B #B9A22F #2FB95D
square
#2F46B9 #B92F8B #B9A22F #2FB95D
split-complementary
#2F46B9 #B95D2F #8BB92F
monochromatic
#162157 #233488 #2F46B9 #5268D3 #8392DF

Accessibility & contrast

On white

7.79
#2F46B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F46B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F46B9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F46B9#FFFFFF#000000##FFFFFF
##2F46B91.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f46b9;
/* rgb */ color: rgb(47, 70, 185);
/* oklch */ color: oklch(45.2% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c79cf',
    500: '#2f46b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f46b9;
$custom-light: #7c79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f46b9",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 230,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45188,
    "c": 0.18249,
    "h": 269
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#2F46B9
secondary
#C9BC7B
accent
#C845E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2F46B9

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

Preview Lab → · Contrast checker → · Palette generator →

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