#2245A9#2245A9

#2245A9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.166 H 265.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2245A9
RGBrgb(34, 69, 169)
HSLhsl(224, 67%, 40%)
HSVhsv(224, 80%, 66%)
CMYKcmyk(79.9%, 59.2%, 0%, 33.7%)
CIE-LABlab(32.83, 25.14, -57.17)
CIE-LCHlch(32.83, 62.45, 293.74°)
OKLaboklab(43.03% -0.0138 -0.1652)
OKLCHoklch(43.03% 0.166 265.2)
XYZxyz(9.9467, 7.4597, 38.4441)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A9 #A98622
analogous
#2289A9 #2245A9 #4222A9
triadic
#2245A9 #A92245 #45A922
tetradic
#2245A9 #A92289 #A98622 #22A942
square
#2245A9 #A92289 #A98622 #22A942
split-complementary
#2245A9 #A94222 #89A922
monochromatic
#0D1B43 #183076 #2245A9 #325DD6 #6585E0

Accessibility & contrast

On white

8.43
#2245A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2245A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2245A9#FFFFFF#000000##FFFFFF
##2245A91.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2245a9;
/* rgb */ color: rgb(34, 69, 169);
/* oklch */ color: oklch(43.0% 0.166 265.2);
Tailwind
colors: {
  custom: {
    50: '#7478c3',
    500: '#2245a9',
    950: '#000000',
  },
}
SCSS
$custom: #2245a9;
$custom-light: #7478c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a9",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 224.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.16576,
    "h": 265.2
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#2245A9
secondary
#C5AC61
accent
#BD3EE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245A9

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

Preview Lab → · Contrast checker → · Palette generator →

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