#2F36AA#2F36AA

#2F36AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.182 H 272.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2F36AA
RGBrgb(47, 54, 170)
HSLhsl(237, 57%, 43%)
HSVhsv(237, 72%, 67%)
CMYKcmyk(72.4%, 68.2%, 0%, 33.3%)
CIE-LABlab(29.77, 36.72, -62.75)
CIE-LCHlch(29.77, 72.70, 300.34°)
OKLaboklab(40.97% 0.008 -0.1814)
OKLCHoklch(40.97% 0.182 272.5)
XYZxyz(9.7447, 6.1440, 38.6948)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36AA #AAA32F
analogous
#2F74AA #2F36AA #652FAA
triadic
#2F36AA #AA2F36 #36AA2F
tetradic
#2F36AA #AA2F74 #AAA32F #2FAA65
square
#2F36AA #AA2F74 #AAA32F #2FAA65
split-complementary
#2F36AA #AA652F #74AA2F
monochromatic
#14184A #22277A #2F36AA #4951CD #797FDA

Accessibility & contrast

On white

9.42
#2F36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36AA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36AA#FFFFFF#000000##FFFFFF
##2F36AA1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f36aa;
/* rgb */ color: rgb(47, 54, 170);
/* oklch */ color: oklch(41.0% 0.182 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a6dc4',
    500: '#2f36aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f36aa;
$custom-light: #7a6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36aa",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 236.585,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40967,
    "c": 0.18158,
    "h": 272.5
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#2F36AA
secondary
#C2BE72
accent
#D748E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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