#2246A2#2246A2

#2246A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.155 H 264.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2246A2
RGBrgb(34, 70, 162)
HSLhsl(223, 65%, 38%)
HSVhsv(223, 79%, 64%)
CMYKcmyk(79%, 56.8%, 0%, 36.5%)
CIE-LABlab(32.54, 21.74, -53.44)
CIE-LCHlch(32.54, 57.69, 292.14°)
OKLaboklab(42.63% -0.0149 -0.1542)
OKLCHoklch(42.63% 0.155 264.5)
XYZxyz(9.3691, 7.3280, 35.0961)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246A2 #A27E22
analogous
#2286A2 #2246A2 #3E22A2
triadic
#2246A2 #A22246 #46A222
tetradic
#2246A2 #A22286 #A27E22 #22A23E
square
#2246A2 #A22286 #A27E22 #22A23E
split-complementary
#2246A2 #A23E22 #86A222
monochromatic
#0D1A3D #17306F #2246A2 #2E5CD3 #6184DE

Accessibility & contrast

On white

8.52
#2246A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2246A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246A2#FFFFFF#000000##FFFFFF
##2246A21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2246a2;
/* rgb */ color: rgb(34, 70, 162);
/* oklch */ color: oklch(42.6% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#7278be',
    500: '#2246a2',
    950: '#000000',
  },
}
SCSS
$custom: #2246a2;
$custom-light: #7278be;
$custom-dark: #000000;
JSON
{
  "hex": "#2246a2",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 223.125,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42633,
    "c": 0.15493,
    "h": 264.5
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#2246A2
secondary
#C3A65D
accent
#B940E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2246A2

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

Preview Lab → · Contrast checker → · Palette generator →

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