#2245A7#2245A7

#2245A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.163 H 265.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2245A7
RGBrgb(34, 69, 167)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 80%, 65%)
CMYKcmyk(79.6%, 58.7%, 0%, 34.5%)
CIE-LABlab(32.67, 24.37, -56.23)
CIE-LCHlch(32.67, 61.29, 293.43°)
OKLaboklab(42.85% -0.0139 -0.1624)
OKLCHoklch(42.85% 0.163 265.1)
XYZxyz(9.7604, 7.3852, 37.4628)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A7 #A78422
analogous
#2287A7 #2245A7 #4222A7
triadic
#2245A7 #A72245 #45A722
tetradic
#2245A7 #A72287 #A78422 #22A742
square
#2245A7 #A72287 #A78422 #22A742
split-complementary
#2245A7 #A74222 #87A722
monochromatic
#0D1B41 #183074 #2245A7 #315CD5 #6484DF

Accessibility & contrast

On white

8.48
#2245A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2245A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2245A7#FFFFFF#000000##FFFFFF
##2245A71.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2245a7;
/* rgb */ color: rgb(34, 69, 167);
/* oklch */ color: oklch(42.9% 0.163 265.1);
Tailwind
colors: {
  custom: {
    50: '#7378c2',
    500: '#2245a7',
    950: '#000000',
  },
}
SCSS
$custom: #2245a7;
$custom-light: #7378c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a7",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 224.211,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.16305,
    "h": 265.1
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#2245A7
secondary
#C5AA60
accent
#BC3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2245A7

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

Preview Lab → · Contrast checker → · Palette generator →

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