#2F2BA0#2F2BA0

#2F2BA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.181 H 275.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2F2BA0
RGBrgb(47, 43, 160)
HSLhsl(242, 58%, 40%)
HSVhsv(242, 73%, 63%)
CMYKcmyk(70.6%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.36, 39.95, -62.32)
CIE-LCHlch(26.36, 74.02, 302.66°)
OKLaboklab(38.22% 0.0161 -0.1801)
OKLCHoklch(38.22% 0.181 275.1)
XYZxyz(8.3792, 4.8694, 33.7492)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BA0 #9CA02B
analogous
#2B62A0 #2F2BA0 #692BA0
triadic
#2F2BA0 #A02F2B #2BA02F
tetradic
#2F2BA0 #A02B62 #9CA02B #2BA069
square
#2F2BA0 #A02B62 #9CA02B #2BA069
split-complementary
#2F2BA0 #A0692B #62A02B
monochromatic
#131140 #211E70 #2F2BA0 #423DCB #716ED8

Accessibility & contrast

On white

10.64
#2F2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BA0
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BA0#FFFFFF#000000##FFFFFF
##2F2BA01.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2ba0;
/* rgb */ color: rgb(47, 43, 160);
/* oklch */ color: oklch(38.2% 0.181 275.1);
Tailwind
colors: {
  custom: {
    50: '#7866bd',
    500: '#2f2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ba0;
$custom-light: #7866bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ba0",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 242.051,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.18087,
    "h": 275.1
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#2F2BA0
secondary
#BCBF68
accent
#E147DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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