#2F3FA9#2F3FA9

#2F3FA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.170 H 270.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2F3FA9
RGBrgb(47, 63, 169)
HSLhsl(232, 56%, 42%)
HSVhsv(232, 72%, 66%)
CMYKcmyk(72.2%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.86, 30.61, -58.73)
CIE-LCHlch(31.86, 66.23, 297.53°)
OKLaboklab(42.47% 0.002 -0.1696)
OKLCHoklch(42.47% 0.17 270.7)
XYZxyz(10.1088, 7.0229, 38.3512)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FA9 #A9992F
analogous
#2F7CA9 #2F3FA9 #5C2FA9
triadic
#2F3FA9 #A92F3F #3FA92F
tetradic
#2F3FA9 #A92F7C #A9992F #2FA95C
square
#2F3FA9 #A92F7C #A9992F #2FA95C
split-complementary
#2F3FA9 #A95C2F #7CA92F
monochromatic
#141B49 #222D79 #2F3FA9 #495ACC #7985DA

Accessibility & contrast

On white

8.73
#2F3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FA9
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FA9#FFFFFF#000000##FFFFFF
##2F3FA91.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3fa9;
/* rgb */ color: rgb(47, 63, 169);
/* oklch */ color: oklch(42.5% 0.170 270.7);
Tailwind
colors: {
  custom: {
    50: '#7974c3',
    500: '#2f3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fa9;
$custom-light: #7974c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fa9",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 232.131,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.16959,
    "h": 270.7
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#2F3FA9
secondary
#C2B772
accent
#CC48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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