#2245B2#2245B2

#2245B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.178 H 265.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2245B2
RGBrgb(34, 69, 178)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 70%)
CMYKcmyk(80.9%, 61.2%, 0%, 30.2%)
CIE-LABlab(33.58, 28.61, -61.30)
CIE-LCHlch(33.58, 67.65, 295.02°)
OKLaboklab(43.82% -0.0136 -0.1773)
OKLCHoklch(43.82% 0.178 265.6)
XYZxyz(10.8209, 7.8094, 43.0479)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245B2 #B28F22
analogous
#228DB2 #2245B2 #4722B2
triadic
#2245B2 #B22245 #45B222
tetradic
#2245B2 #B2228D #B28F22 #22B247
square
#2245B2 #B2228D #B28F22 #22B247
split-complementary
#2245B2 #B24722 #8DB222
monochromatic
#0E1D4B #18317F #2245B2 #385FD9 #6C89E3

Accessibility & contrast

On white

8.20
#2245B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2245B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245B2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245B2#FFFFFF#000000##FFFFFF
##2245B21.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2245b2;
/* rgb */ color: rgb(34, 69, 178);
/* oklch */ color: oklch(43.8% 0.178 265.6);
Tailwind
colors: {
  custom: {
    50: '#7678ca',
    500: '#2245b2',
    950: '#000000',
  },
}
SCSS
$custom: #2245b2;
$custom-light: #7678ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2245b2",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 225.417,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.17784,
    "h": 265.6
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#2245B2
secondary
#C9B167
accent
#C13DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245B2

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

Preview Lab → · Contrast checker → · Palette generator →

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