#2246B2#2246B2

#2246B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 265.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2246B2
RGBrgb(34, 70, 178)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 70%)
CMYKcmyk(80.9%, 60.7%, 0%, 30.2%)
CIE-LABlab(33.84, 27.95, -60.87)
CIE-LCHlch(33.84, 66.98, 294.66°)
OKLaboklab(44.02% -0.0142 -0.1761)
OKLCHoklch(44.02% 0.177 265.4)
XYZxyz(10.8829, 7.9335, 43.0686)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246B2 #B28E22
analogous
#228EB2 #2246B2 #4622B2
triadic
#2246B2 #B22246 #46B222
tetradic
#2246B2 #B2228E #B28E22 #22B246
square
#2246B2 #B2228E #B28E22 #22B246
split-complementary
#2246B2 #B24622 #8EB222
monochromatic
#0E1E4B #18327F #2246B2 #3860D9 #6C89E3

Accessibility & contrast

On white

8.12
#2246B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2246B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246B2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246B2#FFFFFF#000000##FFFFFF
##2246B21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2246b2;
/* rgb */ color: rgb(34, 70, 178);
/* oklch */ color: oklch(44.0% 0.177 265.4);
Tailwind
colors: {
  custom: {
    50: '#7679ca',
    500: '#2246b2',
    950: '#000000',
  },
}
SCSS
$custom: #2246b2;
$custom-light: #7679ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2246b2",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 225,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.17662,
    "h": 265.4
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#2246B2
secondary
#C9B067
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2246B2

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

Preview Lab → · Contrast checker → · Palette generator →

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