#2245A5#2245A5

#2245A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.160 H 265.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2245A5
RGBrgb(34, 69, 165)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 79%, 65%)
CMYKcmyk(79.4%, 58.2%, 0%, 35.3%)
CIE-LABlab(32.51, 23.59, -55.30)
CIE-LCHlch(32.51, 60.12, 293.10°)
OKLaboklab(42.68% -0.014 -0.1597)
OKLCHoklch(42.68% 0.16 265)
XYZxyz(9.5769, 7.3118, 36.4966)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A5 #A58222
analogous
#2287A5 #2245A5 #4022A5
triadic
#2245A5 #A52245 #45A522
tetradic
#2245A5 #A52287 #A58222 #22A540
square
#2245A5 #A52287 #A58222 #22A540
split-complementary
#2245A5 #A54022 #87A522
monochromatic
#0D1B40 #183072 #2245A5 #305CD4 #6384DF

Accessibility & contrast

On white

8.53
#2245A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2245A5#FFFFFF#000000##FFFFFF
##2245A51.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2245a5;
/* rgb */ color: rgb(34, 69, 165);
/* oklch */ color: oklch(42.7% 0.160 265.0);
Tailwind
colors: {
  custom: {
    50: '#7378c0',
    500: '#2245a5',
    950: '#000000',
  },
}
SCSS
$custom: #2245a5;
$custom-light: #7378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a5",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 223.969,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42681,
    "c": 0.16031,
    "h": 265
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2245A5

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

Preview Lab → · Contrast checker → · Palette generator →

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