#2935AF#2935AF

#2935AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.191 H 270.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2935AF
RGBrgb(41, 53, 175)
HSLhsl(235, 62%, 42%)
HSVhsv(235, 77%, 69%)
CMYKcmyk(76.6%, 69.7%, 0%, 31.4%)
CIE-LABlab(29.69, 38.48, -65.88)
CIE-LCHlch(29.69, 76.30, 300.29°)
OKLaboklab(40.97% 0.0016 -0.1907)
OKLCHoklch(40.97% 0.191 270.5)
XYZxyz(9.9228, 6.1117, 41.2058)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2935AF #AFA329
analogous
#2978AF #2935AF #6029AF
triadic
#2935AF #AF2935 #35AF29
tetradic
#2935AF #AF2978 #AFA329 #29AF60
square
#2935AF #AF2978 #AFA329 #29AF60
split-complementary
#2935AF #AF6029 #78AF29
monochromatic
#12174C #1D267D #2935AF #424FD3 #747EDE

Accessibility & contrast

On white

9.45
#2935AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2935AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2935AF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2935AF#FFFFFF#000000##FFFFFF
##2935AF1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2935af;
/* rgb */ color: rgb(41, 53, 175);
/* oklch */ color: oklch(41.0% 0.191 270.5);
Tailwind
colors: {
  custom: {
    50: '#796dc8',
    500: '#2935af',
    950: '#000000',
  },
}
SCSS
$custom: #2935af;
$custom-light: #796dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2935af",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 234.627,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.19072,
    "h": 270.5
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#2935AF
secondary
#C6BE6E
accent
#D743E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2935AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2935AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva