#2F35AE#2F35AE

#2F35AE is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.188 H 272.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2F35AE
RGBrgb(47, 53, 174)
HSLhsl(237, 57%, 43%)
HSVhsv(237, 73%, 68%)
CMYKcmyk(73%, 69.5%, 0%, 31.8%)
CIE-LABlab(29.93, 38.74, -64.89)
CIE-LCHlch(29.93, 75.58, 300.84°)
OKLaboklab(41.19% 0.0081 -0.1877)
OKLCHoklch(41.19% 0.188 272.5)
XYZxyz(10.0828, 6.2055, 40.7026)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35AE #AEA82F
analogous
#2F74AE #2F35AE #682FAE
triadic
#2F35AE #AE2F35 #35AE2F
tetradic
#2F35AE #AE2F74 #AEA82F #2FAE68
square
#2F35AE #AE2F74 #AEA82F #2FAE68
split-complementary
#2F35AE #AE682F #74AE2F
monochromatic
#15184E #22267E #2F35AE #4C52CF #7C80DC

Accessibility & contrast

On white

9.37
#2F35AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F35AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35AE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35AE#FFFFFF#000000##FFFFFF
##2F35AE1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f35ae;
/* rgb */ color: rgb(47, 53, 174);
/* oklch */ color: oklch(41.2% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b6dc7',
    500: '#2f35ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f35ae;
$custom-light: #7b6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35ae",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 237.165,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.18786,
    "h": 272.5
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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