#2849AF#2849AF

#2849AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 266.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2849AF
RGBrgb(40, 73, 175)
HSLhsl(225, 63%, 42%)
HSVhsv(225, 77%, 69%)
CMYKcmyk(77.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(34.62, 25.42, -57.82)
CIE-LCHlch(34.62, 63.16, 293.73°)
OKLaboklab(44.58% -0.0116 -0.1669)
OKLCHoklch(44.58% 0.167 266)
XYZxyz(10.9928, 8.3101, 41.5738)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2849AF #AF8E28
analogous
#288DAF #2849AF #4A28AF
triadic
#2849AF #AF2849 #49AF28
tetradic
#2849AF #AF288D #AF8E28 #28AF4A
square
#2849AF #AF288D #AF8E28 #28AF4A
split-complementary
#2849AF #AF4A28 #8DAF28
monochromatic
#111F4B #1D347D #2849AF #4165D4 #738DDF

Accessibility & contrast

On white

7.89
#2849AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2849AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2849AF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2849AF#FFFFFF#000000##FFFFFF
##2849AF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2849af;
/* rgb */ color: rgb(40, 73, 175);
/* oklch */ color: oklch(44.6% 0.167 266.0);
Tailwind
colors: {
  custom: {
    50: '#777bc8',
    500: '#2849af',
    950: '#000000',
  },
}
SCSS
$custom: #2849af;
$custom-light: #777bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2849af",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 225.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.16733,
    "h": 266
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#2849AF
secondary
#C6B06D
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2849AF

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

Preview Lab → · Contrast checker → · Palette generator →

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