#2245A6#2245A6

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

Color values

HEX#2245A6
RGBrgb(34, 69, 166)
HSLhsl(224, 66%, 39%)
HSVhsv(224, 80%, 65%)
CMYKcmyk(79.5%, 58.4%, 0%, 34.9%)
CIE-LABlab(32.59, 23.98, -55.77)
CIE-LCHlch(32.59, 60.70, 293.26°)
OKLaboklab(42.77% -0.014 -0.1611)
OKLCHoklch(42.77% 0.162 265)
XYZxyz(9.6683, 7.3484, 36.9778)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245A6 #A68322
analogous
#2287A6 #2245A6 #4122A6
triadic
#2245A6 #A62245 #45A622
tetradic
#2245A6 #A62287 #A68322 #22A641
square
#2245A6 #A62287 #A68322 #22A641
split-complementary
#2245A6 #A64122 #87A622
monochromatic
#0D1B40 #183073 #2245A6 #305CD5 #6384DF

Accessibility & contrast

On white

8.50
#2245A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2245A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245A6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245A6#FFFFFF#000000##FFFFFF
##2245A61.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2245a6;
/* rgb */ color: rgb(34, 69, 166);
/* oklch */ color: oklch(42.8% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#7378c1',
    500: '#2245a6',
    950: '#000000',
  },
}
SCSS
$custom: #2245a6;
$custom-light: #7378c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2245a6",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 224.091,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.16167,
    "h": 265
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2245A6

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

Preview Lab → · Contrast checker → · Palette generator →

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