#2F3CA3#2F3CA3

#2F3CA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.165 H 271.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3CA3
RGBrgb(47, 60, 163)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(71.2%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.59, 30.37, -57.19)
CIE-LCHlch(30.59, 64.76, 297.97°)
OKLaboklab(41.37% 0.0044 -0.1651)
OKLCHoklch(41.37% 0.165 271.5)
XYZxyz(9.3968, 6.4795, 35.3987)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CA3 #A3962F
analogous
#2F76A3 #2F3CA3 #5C2FA3
triadic
#2F3CA3 #A32F3C #3CA32F
tetradic
#2F3CA3 #A32F76 #A3962F #2FA35C
square
#2F3CA3 #A32F76 #A3962F #2FA35C
split-complementary
#2F3CA3 #A35C2F #76A32F
monochromatic
#141944 #212B73 #2F3CA3 #4654CA #7580D7

Accessibility & contrast

On white

9.15
#2F3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CA3
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CA3#FFFFFF#000000##FFFFFF
##2F3CA31.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f3ca3;
/* rgb */ color: rgb(47, 60, 163);
/* oklch */ color: oklch(41.4% 0.165 271.5);
Tailwind
colors: {
  custom: {
    50: '#7871bf',
    500: '#2f3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ca3;
$custom-light: #7871bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ca3",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 233.276,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.16517,
    "h": 271.5
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#2F3CA3
secondary
#BFB66F
accent
#CE49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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