#2F36AF#2F36AF

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

Color values

HEX#2F36AF
RGBrgb(47, 54, 175)
HSLhsl(237, 58%, 44%)
HSVhsv(237, 73%, 69%)
CMYKcmyk(73.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(30.25, 38.47, -64.96)
CIE-LCHlch(30.25, 75.50, 300.64°)
OKLaboklab(41.45% 0.0074 -0.1879)
OKLCHoklch(41.45% 0.188 272.3)
XYZxyz(10.2267, 6.3368, 41.2333)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36AF #AFA82F
analogous
#2F76AF #2F36AF #682FAF
triadic
#2F36AF #AF2F36 #36AF2F
tetradic
#2F36AF #AF2F76 #AFA82F #2FAF68
square
#2F36AF #AF2F76 #AFA82F #2FAF68
split-complementary
#2F36AF #AF682F #76AF2F
monochromatic
#15184F #22277F #2F36AF #4C53CF #7C82DC

Accessibility & contrast

On white

9.26
#2F36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36AF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36AF#FFFFFF#000000##FFFFFF
##2F36AF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f36af;
/* rgb */ color: rgb(47, 54, 175);
/* oklch */ color: oklch(41.5% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b6dc8',
    500: '#2f36af',
    950: '#000000',
  },
}
SCSS
$custom: #2f36af;
$custom-light: #7b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36af",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 236.719,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41454,
    "c": 0.18803,
    "h": 272.3
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#2F36AF
secondary
#C4C075
accent
#D847E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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