#2F3DA3#2F3DA3

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

Color values

HEX#2F3DA3
RGBrgb(47, 61, 163)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(71.2%, 62.6%, 0%, 36.1%)
CIE-LABlab(30.84, 29.72, -56.78)
CIE-LCHlch(30.84, 64.09, 297.63°)
OKLaboklab(41.56% 0.0036 -0.1639)
OKLCHoklch(41.56% 0.164 271.3)
XYZxyz(9.4497, 6.5852, 35.4163)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DA3 #A3952F
analogous
#2F77A3 #2F3DA3 #5B2FA3
triadic
#2F3DA3 #A32F3D #3DA32F
tetradic
#2F3DA3 #A32F77 #A3952F #2FA35B
square
#2F3DA3 #A32F77 #A3952F #2FA35B
split-complementary
#2F3DA3 #A35B2F #77A32F
monochromatic
#141944 #212B73 #2F3DA3 #4656CA #7581D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3DA3#FFFFFF#000000##FFFFFF
##2F3DA31.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)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3da3;
/* rgb */ color: rgb(47, 61, 163);
/* oklch */ color: oklch(41.6% 0.164 271.3);
Tailwind
colors: {
  custom: {
    50: '#7872bf',
    500: '#2f3da3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3da3;
$custom-light: #7872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3da3",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 232.759,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.16393,
    "h": 271.3
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#2F3DA3
secondary
#BFB56F
accent
#CD49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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