#2246A5#2246A5

#2246A5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.159 H 264.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2246A5
RGBrgb(34, 70, 165)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 79%, 65%)
CMYKcmyk(79.4%, 57.6%, 0%, 35.3%)
CIE-LABlab(32.78, 22.91, -54.85)
CIE-LCHlch(32.78, 59.45, 292.67°)
OKLaboklab(42.89% -0.0147 -0.1584)
OKLCHoklch(42.89% 0.159 264.7)
XYZxyz(9.6390, 7.4359, 36.5173)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246A5 #A58122
analogous
#2288A5 #2246A5 #3F22A5
triadic
#2246A5 #A52246 #46A522
tetradic
#2246A5 #A52288 #A58122 #22A53F
square
#2246A5 #A52288 #A58122 #22A53F
split-complementary
#2246A5 #A53F22 #88A522
monochromatic
#0D1B40 #183072 #2246A5 #305DD4 #6385DF

Accessibility & contrast

On white

8.44
#2246A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2246A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246A5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246A5#FFFFFF#000000##FFFFFF
##2246A51.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2246a5;
/* rgb */ color: rgb(34, 70, 165);
/* oklch */ color: oklch(42.9% 0.159 264.7);
Tailwind
colors: {
  custom: {
    50: '#7378c0',
    500: '#2246a5',
    950: '#000000',
  },
}
SCSS
$custom: #2246a5;
$custom-light: #7378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2246a5",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 223.511,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.15906,
    "h": 264.7
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#2246A5
secondary
#C4A85F
accent
#BA3FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2246A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2246A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva