#2245B3#2245B3

#2245B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.179 H 265.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2245B3
RGBrgb(34, 69, 179)
HSLhsl(226, 68%, 42%)
HSVhsv(226, 81%, 70%)
CMYKcmyk(81%, 61.5%, 0%, 29.8%)
CIE-LABlab(33.67, 29.00, -61.76)
CIE-LCHlch(33.67, 68.22, 295.15°)
OKLaboklab(43.91% -0.0136 -0.1786)
OKLCHoklch(43.91% 0.179 265.6)
XYZxyz(10.9216, 7.8497, 43.5786)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2245B3 #B39022
analogous
#228EB3 #2245B3 #4722B3
triadic
#2245B3 #B32245 #45B322
tetradic
#2245B3 #B3228E #B39022 #22B347
square
#2245B3 #B3228E #B39022 #22B347
split-complementary
#2245B3 #B34722 #8EB322
monochromatic
#0E1D4C #183180 #2245B3 #3960D9 #6C89E3

Accessibility & contrast

On white

8.17
#2245B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2245B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2245B3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2245B3#FFFFFF#000000##FFFFFF
##2245B31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2245b3;
/* rgb */ color: rgb(34, 69, 179);
/* oklch */ color: oklch(43.9% 0.179 265.6);
Tailwind
colors: {
  custom: {
    50: '#7678cb',
    500: '#2245b3',
    950: '#000000',
  },
}
SCSS
$custom: #2245b3;
$custom-light: #7678cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2245b3",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 225.517,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.17917,
    "h": 265.6
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

primary
#2245B3
secondary
#C9B268
accent
#C13DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2245B3

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

Preview Lab → · Contrast checker → · Palette generator →

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