#2F3FA0#2F3FA0

#2F3FA0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.157 H 270.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2F3FA0
RGBrgb(47, 63, 160)
HSLhsl(232, 55%, 41%)
HSVhsv(232, 71%, 63%)
CMYKcmyk(70.6%, 60.6%, 0%, 37.3%)
CIE-LABlab(31.11, 27.30, -54.54)
CIE-LCHlch(31.11, 60.99, 296.59°)
OKLaboklab(41.67% 0.0021 -0.1573)
OKLCHoklch(41.67% 0.157 270.8)
XYZxyz(9.2928, 6.6965, 34.0537)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FA0 #A0902F
analogous
#2F77A0 #2F3FA0 #572FA0
triadic
#2F3FA0 #A02F3F #3FA02F
tetradic
#2F3FA0 #A02F77 #A0902F #2FA057
square
#2F3FA0 #A02F77 #A0902F #2FA057
split-complementary
#2F3FA0 #A0572F #77A02F
monochromatic
#131A41 #212C71 #2F3FA0 #4457C8 #7381D6

Accessibility & contrast

On white

8.98
#2F3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FA0
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FA0#FFFFFF#000000##FFFFFF
##2F3FA01.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3fa0;
/* rgb */ color: rgb(47, 63, 160);
/* oklch */ color: oklch(41.7% 0.157 270.8);
Tailwind
colors: {
  custom: {
    50: '#7773bd',
    500: '#2f3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fa0;
$custom-light: #7773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fa0",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 231.504,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.1573,
    "h": 270.8
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#2F3FA0
secondary
#BEB26D
accent
#C94ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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