#2F2CA3#2F2CA3

#2F2CA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.184 H 274.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2F2CA3
RGBrgb(47, 44, 163)
HSLhsl(242, 57%, 41%)
HSVhsv(242, 73%, 64%)
CMYKcmyk(71.2%, 73%, 0%, 36.1%)
CIE-LABlab(26.87, 40.37, -63.29)
CIE-LCHlch(26.87, 75.07, 302.53°)
OKLaboklab(38.68% 0.015 -0.183)
OKLCHoklch(38.68% 0.184 274.7)
XYZxyz(8.6816, 5.0492, 35.1603)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CA3 #A0A32C
analogous
#2C64A3 #2F2CA3 #6B2CA3
triadic
#2F2CA3 #A32F2C #2CA32F
tetradic
#2F2CA3 #A32C64 #A0A32C #2CA36B
square
#2F2CA3 #A32C64 #A0A32C #2CA36B
split-complementary
#2F2CA3 #A36B2C #64A32C
monochromatic
#131243 #211F73 #2F2CA3 #4441CC #7371D9

Accessibility & contrast

On white

10.45
#2F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CA3
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CA3#FFFFFF#000000##FFFFFF
##2F2CA31.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2ca3;
/* rgb */ color: rgb(47, 44, 163);
/* oklch */ color: oklch(38.7% 0.184 274.7);
Tailwind
colors: {
  custom: {
    50: '#7966bf',
    500: '#2f2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ca3;
$custom-light: #7966bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ca3",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 241.513,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.1836,
    "h": 274.7
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#2F2CA3
secondary
#BEC06B
accent
#E147DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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