#2245AD#2245AD

#2245AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.171 H 265.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2245AD
RGBrgb(34, 69, 173)
HSLhsl(225, 67%, 41%)
HSVhsv(225, 80%, 68%)
CMYKcmyk(80.3%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.16, 26.69, -59.02)
CIE-LCHlch(33.16, 64.77, 294.34°)
OKLaboklab(43.38% -0.0137 -0.1706)
OKLCHoklch(43.38% 0.171 265.4)
XYZxyz(10.3280, 7.6122, 40.4520)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245AD #AD8A22
analogous
#228AAD #2245AD #4422AD
triadic
#2245AD #AD2245 #45AD22
tetradic
#2245AD #AD228A #AD8A22 #22AD44
square
#2245AD #AD228A #AD8A22 #22AD44
split-complementary
#2245AD #AD4422 #8AAD22
monochromatic
#0E1C47 #18317A #2245AD #355ED7 #6887E1

Accessibility & contrast

On white

8.32
#2245AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2245AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2245AD#FFFFFF#000000##FFFFFF
##2245AD1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2245ad;
/* rgb */ color: rgb(34, 69, 173);
/* oklch */ color: oklch(43.4% 0.171 265.4);
Tailwind
colors: {
  custom: {
    50: '#7578c6',
    500: '#2245ad',
    950: '#000000',
  },
}
SCSS
$custom: #2245ad;
$custom-light: #7578c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2245ad",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 224.892,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43376,
    "c": 0.17116,
    "h": 265.4
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#2245AD
secondary
#C7AE64
accent
#BF3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245AD

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

Preview Lab → · Contrast checker → · Palette generator →

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