#2245A4#2245A4

#2245A4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.159 H 264.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2245A4
RGBrgb(34, 69, 164)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 79%, 64%)
CMYKcmyk(79.3%, 57.9%, 0%, 35.7%)
CIE-LABlab(32.43, 23.20, -54.83)
CIE-LCHlch(32.43, 59.53, 292.93°)
OKLaboklab(42.6% -0.0141 -0.1583)
OKLCHoklch(42.6% 0.159 264.9)
XYZxyz(9.4863, 7.2756, 36.0191)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A4 #A48122
analogous
#2286A4 #2245A4 #4022A4
triadic
#2245A4 #A42245 #45A422
tetradic
#2245A4 #A42286 #A48122 #22A440
square
#2245A4 #A42286 #A48122 #22A440
split-complementary
#2245A4 #A44022 #86A422
monochromatic
#0D1A3F #173071 #2245A4 #2F5CD4 #6283DE

Accessibility & contrast

On white

8.55
#2245A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2245A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245A4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245A4#FFFFFF#000000##FFFFFF
##2245A41.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2245a4;
/* rgb */ color: rgb(34, 69, 164);
/* oklch */ color: oklch(42.6% 0.159 264.9);
Tailwind
colors: {
  custom: {
    50: '#7378c0',
    500: '#2245a4',
    950: '#000000',
  },
}
SCSS
$custom: #2245a4;
$custom-light: #7378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a4",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 223.846,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.15894,
    "h": 264.9
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#2245A4
secondary
#C4A85E
accent
#BB3FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2245A4

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

Preview Lab → · Contrast checker → · Palette generator →

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