#2F3EA0#2F3EA0

#2F3EA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.159 H 271.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2F3EA0
RGBrgb(47, 62, 160)
HSLhsl(232, 55%, 41%)
HSVhsv(232, 71%, 63%)
CMYKcmyk(70.6%, 61.2%, 0%, 37.3%)
CIE-LABlab(30.85, 27.96, -54.96)
CIE-LCHlch(30.85, 61.67, 296.96°)
OKLaboklab(41.48% 0.0029 -0.1585)
OKLCHoklch(41.48% 0.159 271.1)
XYZxyz(9.2379, 6.5867, 34.0354)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EA0 #A0912F
analogous
#2F76A0 #2F3EA0 #582FA0
triadic
#2F3EA0 #A02F3E #3EA02F
tetradic
#2F3EA0 #A02F76 #A0912F #2FA058
square
#2F3EA0 #A02F76 #A0912F #2FA058
split-complementary
#2F3EA0 #A0582F #76A02F
monochromatic
#131941 #212C71 #2F3EA0 #4456C8 #7380D6

Accessibility & contrast

On white

9.06
#2F3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F3EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EA0
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EA0#FFFFFF#000000##FFFFFF
##2F3EA01.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3ea0;
/* rgb */ color: rgb(47, 62, 160);
/* oklch */ color: oklch(41.5% 0.159 271.1);
Tailwind
colors: {
  custom: {
    50: '#7773bd',
    500: '#2f3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ea0;
$custom-light: #7773bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ea0",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 232.035,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.15857,
    "h": 271.1
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#2F3EA0
secondary
#BEB36D
accent
#CA4ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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