#224783#224783

#224783 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.109 H 259.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#224783
RGBrgb(34, 71, 131)
HSLhsl(217, 59%, 32%)
HSVhsv(217, 74%, 51%)
CMYKcmyk(74%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.60, 8.79, -37.63)
CIE-LCHlch(30.60, 38.64, 283.15°)
OKLaboklab(40.45% -0.0197 -0.1077)
OKLCHoklch(40.45% 0.109 259.6)
XYZxyz(7.0082, 6.4845, 22.3506)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224783 #835E22
analogous
#227883 #224783 #2D2283
triadic
#224783 #832247 #478322
tetradic
#224783 #832278 #835E22 #22832D
square
#224783 #832278 #835E22 #22832D
split-complementary
#224783 #832D22 #788322
monochromatic
#091222 #152D52 #224783 #2F61B4 #4E80D1

Accessibility & contrast

On white

9.14
#224783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#224783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224783
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224783#FFFFFF#000000##FFFFFF
##2247831.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224783;
/* rgb */ color: rgb(34, 71, 131);
/* oklch */ color: oklch(40.4% 0.109 259.6);
Tailwind
colors: {
  custom: {
    50: '#6a79a7',
    500: '#224783',
    950: '#000000',
  },
}
SCSS
$custom: #224783;
$custom-light: #6a79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#224783",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 217.113,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.10948,
    "h": 259.6
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#224783
secondary
#B48D4C
accent
#A646E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224783

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

Preview Lab → · Contrast checker → · Palette generator →

#224783 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva