#2F36A2#2F36A2

#2F36A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.171 H 272.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2F36A2
RGBrgb(47, 54, 162)
HSLhsl(236, 55%, 41%)
HSVhsv(236, 71%, 64%)
CMYKcmyk(71%, 66.7%, 0%, 36.5%)
CIE-LABlab(29.03, 33.89, -59.14)
CIE-LCHlch(29.03, 68.16, 299.81°)
OKLaboklab(40.2% 0.0088 -0.1708)
OKLCHoklch(40.2% 0.171 272.9)
XYZxyz(9.0109, 5.8504, 34.8298)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F36A2 #A29B2F
analogous
#2F6FA2 #2F36A2 #612FA2
triadic
#2F36A2 #A22F36 #36A22F
tetradic
#2F36A2 #A22F6F #A29B2F #2FA261
square
#2F36A2 #A22F6F #A29B2F #2FA261
split-complementary
#2F36A2 #A2612F #6FA22F
monochromatic
#131643 #212673 #2F36A2 #454DC9 #757BD7

Accessibility & contrast

On white

9.68
#2F36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F36A2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F36A2#FFFFFF#000000##FFFFFF
##2F36A21.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f36a2;
/* rgb */ color: rgb(47, 54, 162);
/* oklch */ color: oklch(40.2% 0.171 272.9);
Tailwind
colors: {
  custom: {
    50: '#786dbf',
    500: '#2f36a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f36a2;
$custom-light: #786dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f36a2",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 236.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.17107,
    "h": 272.9
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#2F36A2
secondary
#BFBA6E
accent
#D549DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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