#2F2BAF#2F2BAF

#2F2BAF is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.199 H 273.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2F2BAF
RGBrgb(47, 43, 175)
HSLhsl(242, 61%, 43%)
HSVhsv(242, 75%, 69%)
CMYKcmyk(73.1%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.92, 44.94, -68.80)
CIE-LCHlch(27.92, 82.18, 303.15°)
OKLaboklab(39.79% 0.0133 -0.199)
OKLCHoklch(39.79% 0.199 273.8)
XYZxyz(9.7715, 5.4263, 41.0815)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2BAF #ABAF2B
analogous
#2B69AF #2F2BAF #712BAF
triadic
#2F2BAF #AF2F2B #2BAF2F
tetradic
#2F2BAF #AF2B69 #ABAF2B #2BAF71
square
#2F2BAF #AF2B69 #ABAF2B #2BAF71
split-complementary
#2F2BAF #AF712B #69AF2B
monochromatic
#15134D #221F7E #2F2BAF #4A46D1 #7A77DE

Accessibility & contrast

On white

10.07
#2F2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2BAF
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2BAF#FFFFFF#000000##FFFFFF
##2F2BAF1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f2baf;
/* rgb */ color: rgb(47, 43, 175);
/* oklch */ color: oklch(39.8% 0.199 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c66c8',
    500: '#2f2baf',
    950: '#000000',
  },
}
SCSS
$custom: #2f2baf;
$custom-light: #7c66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2baf",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 241.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.19947,
    "h": 273.8
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#2F2BAF
secondary
#C3C570
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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