#2F36AE#2F36AE

#2F36AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.187 H 272.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2F36AE
RGBrgb(47, 54, 174)
HSLhsl(237, 57%, 43%)
HSVhsv(237, 73%, 68%)
CMYKcmyk(73%, 69%, 0%, 31.8%)
CIE-LABlab(30.15, 38.13, -64.52)
CIE-LCHlch(30.15, 74.94, 300.58°)
OKLaboklab(41.36% 0.0076 -0.1866)
OKLCHoklch(41.36% 0.187 272.3)
XYZxyz(10.1289, 6.2976, 40.7180)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36AE #AEA72F
analogous
#2F75AE #2F36AE #672FAE
triadic
#2F36AE #AE2F36 #36AE2F
tetradic
#2F36AE #AE2F75 #AEA72F #2FAE67
square
#2F36AE #AE2F75 #AEA72F #2FAE67
split-complementary
#2F36AE #AE672F #75AE2F
monochromatic
#15184E #22277E #2F36AE #4C53CF #7C81DC

Accessibility & contrast

On white

9.29
#2F36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2F36AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36AE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36AE#FFFFFF#000000##FFFFFF
##2F36AE1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f36ae;
/* rgb */ color: rgb(47, 54, 174);
/* oklch */ color: oklch(41.4% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b6dc7',
    500: '#2f36ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f36ae;
$custom-light: #7b6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36ae",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 236.693,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.18674,
    "h": 272.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#2F36AE
secondary
#C4C075
accent
#D847E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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