#2F3EA2#2F3EA2

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

Color values

HEX#2F3EA2
RGBrgb(47, 62, 162)
HSLhsl(232, 55%, 41%)
HSVhsv(232, 71%, 64%)
CMYKcmyk(71%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.01, 28.70, -55.90)
CIE-LCHlch(31.01, 62.83, 297.17°)
OKLaboklab(41.66% 0.0029 -0.1613)
OKLCHoklch(41.66% 0.161 271)
XYZxyz(9.4143, 6.6573, 34.9643)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EA2 #A2932F
analogous
#2F77A2 #2F3EA2 #592FA2
triadic
#2F3EA2 #A22F3E #3EA22F
tetradic
#2F3EA2 #A22F77 #A2932F #2FA259
square
#2F3EA2 #A22F77 #A2932F #2FA259
split-complementary
#2F3EA2 #A2592F #77A22F
monochromatic
#131A43 #212C73 #2F3EA2 #4556C9 #7581D7

Accessibility & contrast

On white

9.01
#2F3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EA2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EA2#FFFFFF#000000##FFFFFF
##2F3EA21.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3ea2;
/* rgb */ color: rgb(47, 62, 162);
/* oklch */ color: oklch(41.7% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#7773be',
    500: '#2f3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ea2;
$custom-light: #7773be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ea2",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 232.174,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.16132,
    "h": 271
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#2F3EA2
secondary
#BFB46E
accent
#CB49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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