#2F35AF#2F35AF

#2F35AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.189 H 272.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2F35AF
RGBrgb(47, 53, 175)
HSLhsl(237, 58%, 44%)
HSVhsv(237, 73%, 69%)
CMYKcmyk(73.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(30.02, 39.09, -65.33)
CIE-LCHlch(30.02, 76.13, 300.89°)
OKLaboklab(41.29% 0.008 -0.189)
OKLCHoklch(41.29% 0.189 272.4)
XYZxyz(10.1807, 6.2447, 41.2179)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F35AF #AFA92F
analogous
#2F75AF #2F35AF #692FAF
triadic
#2F35AF #AF2F35 #35AF2F
tetradic
#2F35AF #AF2F75 #AFA92F #2FAF69
square
#2F35AF #AF2F75 #AFA92F #2FAF69
split-complementary
#2F35AF #AF692F #75AF2F
monochromatic
#15184F #22267F #2F35AF #4C52CF #7C81DC

Accessibility & contrast

On white

9.34
#2F35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F35AF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F35AF#FFFFFF#000000##FFFFFF
##2F35AF1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.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: #2f35af;
/* rgb */ color: rgb(47, 53, 175);
/* oklch */ color: oklch(41.3% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dc8',
    500: '#2f35af',
    950: '#000000',
  },
}
SCSS
$custom: #2f35af;
$custom-light: #7b6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f35af",
  "rgb": {
    "r": 47,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 237.188,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.18913,
    "h": 272.4
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#2F35AF
secondary
#C4C175
accent
#DA47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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