#2245A2#2245A2

#2245A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.156 H 264.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2245A2
RGBrgb(34, 69, 162)
HSLhsl(224, 65%, 38%)
HSVhsv(224, 79%, 64%)
CMYKcmyk(79%, 57.4%, 0%, 36.5%)
CIE-LABlab(32.27, 22.41, -53.88)
CIE-LCHlch(32.27, 58.36, 292.59°)
OKLaboklab(42.43% -0.0142 -0.1555)
OKLCHoklch(42.43% 0.156 264.8)
XYZxyz(9.3071, 7.2039, 35.0754)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A2 #A27F22
analogous
#2285A2 #2245A2 #3F22A2
triadic
#2245A2 #A22245 #45A222
tetradic
#2245A2 #A22285 #A27F22 #22A23F
square
#2245A2 #A22285 #A27F22 #22A23F
split-complementary
#2245A2 #A23F22 #85A222
monochromatic
#0D1A3D #172F6F #2245A2 #2E5BD3 #6183DE

Accessibility & contrast

On white

8.60
#2245A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2245A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245A2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245A2#FFFFFF#000000##FFFFFF
##2245A21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2245a2;
/* rgb */ color: rgb(34, 69, 162);
/* oklch */ color: oklch(42.4% 0.156 264.8);
Tailwind
colors: {
  custom: {
    50: '#7278be',
    500: '#2245a2',
    950: '#000000',
  },
}
SCSS
$custom: #2245a2;
$custom-light: #7278be;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a2",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 223.594,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.15618,
    "h": 264.8
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#2245A2
secondary
#C3A75D
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2245A2

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

Preview Lab → · Contrast checker → · Palette generator →

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