#2F3DA2#2F3DA2

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

Color values

HEX#2F3DA2
RGBrgb(47, 61, 162)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(71%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.76, 29.35, -56.32)
CIE-LCHlch(30.76, 63.51, 297.53°)
OKLaboklab(41.47% 0.0037 -0.1625)
OKLCHoklch(41.47% 0.163 271.3)
XYZxyz(9.3604, 6.5495, 34.9463)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DA2 #A2942F
analogous
#2F76A2 #2F3DA2 #5A2FA2
triadic
#2F3DA2 #A22F3D #3DA22F
tetradic
#2F3DA2 #A22F76 #A2942F #2FA25A
square
#2F3DA2 #A22F76 #A2942F #2FA25A
split-complementary
#2F3DA2 #A25A2F #76A22F
monochromatic
#131943 #212B73 #2F3DA2 #4555C9 #7581D7

Accessibility & contrast

On white

9.09
#2F3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DA2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DA2#FFFFFF#000000##FFFFFF
##2F3DA21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f3da2;
/* rgb */ color: rgb(47, 61, 162);
/* oklch */ color: oklch(41.5% 0.163 271.3);
Tailwind
colors: {
  custom: {
    50: '#7772be',
    500: '#2f3da2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3da2;
$custom-light: #7772be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3da2",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 232.696,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.16256,
    "h": 271.3
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#2F3DA2
secondary
#BFB56E
accent
#CC49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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