#2F2CA0#2F2CA0

#2F2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.180 H 275.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2F2CA0
RGBrgb(47, 44, 160)
HSLhsl(242, 57%, 40%)
HSVhsv(242, 73%, 63%)
CMYKcmyk(70.6%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.57, 39.36, -61.97)
CIE-LCHlch(26.57, 73.41, 302.42°)
OKLaboklab(38.37% 0.0155 -0.1791)
OKLCHoklch(38.37% 0.18 275)
XYZxyz(8.4160, 4.9430, 33.7615)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2CA0 #9DA02C
analogous
#2C63A0 #2F2CA0 #692CA0
triadic
#2F2CA0 #A02F2C #2CA02F
tetradic
#2F2CA0 #A02C63 #9DA02C #2CA069
square
#2F2CA0 #A02C63 #9DA02C #2CA069
split-complementary
#2F2CA0 #A0692C #63A02C
monochromatic
#131240 #211F70 #2F2CA0 #433FCA #726FD7

Accessibility & contrast

On white

10.56
#2F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2CA0
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2CA0#FFFFFF#000000##FFFFFF
##2F2CA01.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f2ca0;
/* rgb */ color: rgb(47, 44, 160);
/* oklch */ color: oklch(38.4% 0.180 275.0);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2f2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ca0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ca0",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 241.552,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38368,
    "c": 0.1798,
    "h": 275
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#2F2CA0
secondary
#BCBF69
accent
#E048DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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