#2F207B#2F207B

#2F207B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.145 H 282.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2F207B
RGBrgb(47, 32, 123)
HSLhsl(250, 59%, 30%)
HSVhsv(250, 74%, 48%)
CMYKcmyk(61.8%, 74%, 0%, 51.8%)
CIE-LABlab(20.31, 34.06, -49.25)
CIE-LCHlch(20.31, 59.89, 304.67°)
OKLaboklab(32.78% 0.0311 -0.1419)
OKLCHoklch(32.78% 0.145 282.4)
XYZxyz(5.2628, 3.0671, 19.0497)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F207B #6C7B20
analogous
#203E7B #2F207B #5C207B
triadic
#2F207B #7B2F20 #207B2F
tetradic
#2F207B #7B203E #6C7B20 #207B5C
square
#2F207B #7B203E #6C7B20 #207B5C
split-complementary
#2F207B #7B5C20 #3E7B20
monochromatic
#0A071A #1C134A #2F207B #422DAC #5D46CF

Accessibility & contrast

On white

13.02
#2F207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F207B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F207B#FFFFFF#000000##FFFFFF
##2F207B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f207b;
/* rgb */ color: rgb(47, 32, 123);
/* oklch */ color: oklch(32.8% 0.145 282.4);
Tailwind
colors: {
  custom: {
    50: '#715da2',
    500: '#2f207b',
    950: '#000000',
  },
}
SCSS
$custom: #2f207b;
$custom-light: #715da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f207b",
  "rgb": {
    "r": 47,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 249.89,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.1453,
    "h": 282.4
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#2F207B
secondary
#9DAE49
accent
#E246C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2F207B

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

Preview Lab → · Contrast checker → · Palette generator →

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