#2245AA#2245AA

#2245AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.167 H 265.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2245AA
RGBrgb(34, 69, 170)
HSLhsl(225, 67%, 40%)
HSVhsv(225, 80%, 67%)
CMYKcmyk(80%, 59.4%, 0%, 33.3%)
CIE-LABlab(32.91, 25.53, -57.63)
CIE-LCHlch(32.91, 63.03, 293.89°)
OKLaboklab(43.11% -0.0138 -0.1665)
OKLCHoklch(43.11% 0.167 265.3)
XYZxyz(10.0409, 7.4974, 38.9404)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245AA #AA8722
analogous
#2289AA #2245AA #4322AA
triadic
#2245AA #AA2245 #45AA22
tetradic
#2245AA #AA2289 #AA8722 #22AA43
square
#2245AA #AA2289 #AA8722 #22AA43
split-complementary
#2245AA #AA4322 #89AA22
monochromatic
#0E1C44 #183077 #2245AA #335DD6 #6685E0

Accessibility & contrast

On white

8.40
#2245AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2245AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2245AA#FFFFFF#000000##FFFFFF
##2245AA1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2245aa;
/* rgb */ color: rgb(34, 69, 170);
/* oklch */ color: oklch(43.1% 0.167 265.3);
Tailwind
colors: {
  custom: {
    50: '#7478c4',
    500: '#2245aa',
    950: '#000000',
  },
}
SCSS
$custom: #2245aa;
$custom-light: #7478c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2245aa",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 224.559,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.16712,
    "h": 265.3
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#2245AA
secondary
#C6AC62
accent
#BD3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245AA

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

Preview Lab → · Contrast checker → · Palette generator →

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