#2245A3#2245A3

#2245A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.158 H 264.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2245A3
RGBrgb(34, 69, 163)
HSLhsl(224, 65%, 39%)
HSVhsv(224, 79%, 64%)
CMYKcmyk(79.1%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.35, 22.80, -54.36)
CIE-LCHlch(32.35, 58.95, 292.76°)
OKLaboklab(42.51% -0.0141 -0.1569)
OKLCHoklch(42.51% 0.158 264.9)
XYZxyz(9.3963, 7.2396, 35.5454)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A3 #A38022
analogous
#2285A3 #2245A3 #3F22A3
triadic
#2245A3 #A32245 #45A322
tetradic
#2245A3 #A32285 #A38022 #22A33F
square
#2245A3 #A32285 #A38022 #22A33F
split-complementary
#2245A3 #A33F22 #85A322
monochromatic
#0D1A3E #173070 #2245A3 #2F5BD4 #6183DE

Accessibility & contrast

On white

8.58
#2245A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2245A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245A3
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245A3#FFFFFF#000000##FFFFFF
##2245A31.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2245a3;
/* rgb */ color: rgb(34, 69, 163);
/* oklch */ color: oklch(42.5% 0.158 264.9);
Tailwind
colors: {
  custom: {
    50: '#7278bf',
    500: '#2245a3',
    950: '#000000',
  },
}
SCSS
$custom: #2245a3;
$custom-light: #7278bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a3",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 223.721,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.15756,
    "h": 264.9
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#2245A3
secondary
#C3A85E
accent
#BB3FE8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2245A3

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

Preview Lab → · Contrast checker → · Palette generator →

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