#2F2BA9#2F2BA9

#2F2BA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.192 H 274.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2F2BA9
RGBrgb(47, 43, 169)
HSLhsl(242, 59%, 42%)
HSVhsv(242, 75%, 66%)
CMYKcmyk(72.2%, 74.6%, 0%, 33.7%)
CIE-LABlab(27.29, 42.96, -66.24)
CIE-LCHlch(27.29, 78.95, 302.96°)
OKLaboklab(39.15% 0.0145 -0.1916)
OKLCHoklch(39.15% 0.192 274.3)
XYZxyz(9.1952, 5.1958, 38.0467)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BA9 #A5A92B
analogous
#2B66A9 #2F2BA9 #6E2BA9
triadic
#2F2BA9 #A92F2B #2BA92F
tetradic
#2F2BA9 #A92B66 #A5A92B #2BA96E
square
#2F2BA9 #A92B66 #A5A92B #2BA96E
split-complementary
#2F2BA9 #A96E2B #66A92B
monochromatic
#141247 #211F78 #2F2BA9 #4742CF #7673DB

Accessibility & contrast

On white

10.30
#2F2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BA9
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BA9#FFFFFF#000000##FFFFFF
##2F2BA91.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f2ba9;
/* rgb */ color: rgb(47, 43, 169);
/* oklch */ color: oklch(39.2% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b66c4',
    500: '#2f2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2f2ba9;
$custom-light: #7b66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2ba9",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 241.905,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39153,
    "c": 0.19211,
    "h": 274.3
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#2F2BA9
secondary
#C0C36D
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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