#2245A1#2245A1

#2245A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.155 H 264.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2245A1
RGBrgb(34, 69, 161)
HSLhsl(223, 65%, 38%)
HSVhsv(223, 79%, 63%)
CMYKcmyk(78.9%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.19, 22.02, -53.41)
CIE-LCHlch(32.19, 57.77, 292.41°)
OKLaboklab(42.34% -0.0142 -0.1541)
OKLCHoklch(42.34% 0.155 264.7)
XYZxyz(9.2186, 7.1685, 34.6091)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A1 #A17E22
analogous
#2284A1 #2245A1 #3F22A1
triadic
#2245A1 #A12245 #45A122
tetradic
#2245A1 #A12284 #A17E22 #22A13F
square
#2245A1 #A12284 #A17E22 #22A13F
split-complementary
#2245A1 #A13F22 #84A122
monochromatic
#0D1A3C #172F6E #2245A1 #2D5BD3 #6083DD

Accessibility & contrast

On white

8.63
#2245A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2245A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2245A1#FFFFFF#000000##FFFFFF
##2245A11.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2245a1;
/* rgb */ color: rgb(34, 69, 161);
/* oklch */ color: oklch(42.3% 0.155 264.7);
Tailwind
colors: {
  custom: {
    50: '#7278be',
    500: '#2245a1',
    950: '#000000',
  },
}
SCSS
$custom: #2245a1;
$custom-light: #7278be;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a1",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 223.465,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.15481,
    "h": 264.7
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#2245A1
secondary
#C2A65D
accent
#BA40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2245A1

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

Preview Lab → · Contrast checker → · Palette generator →

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