#2246B5#2246B5

#2246B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.181 H 265.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2246B5
RGBrgb(34, 70, 181)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 71%)
CMYKcmyk(81.2%, 61.3%, 0%, 29%)
CIE-LABlab(34.10, 29.10, -62.24)
CIE-LCHlch(34.10, 68.70, 295.06°)
OKLaboklab(44.28% -0.0142 -0.18)
OKLCHoklch(44.28% 0.181 265.5)
XYZxyz(11.1874, 8.0553, 44.6723)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246B5 #B59122
analogous
#2290B5 #2246B5 #4722B5
triadic
#2246B5 #B52246 #46B522
tetradic
#2246B5 #B52290 #B59122 #22B547
square
#2246B5 #B52290 #B59122 #22B547
split-complementary
#2246B5 #B54722 #90B522
monochromatic
#0F1E4E #183281 #2246B5 #3A61DA #6E8BE4

Accessibility & contrast

On white

8.04
#2246B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2246B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246B5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246B5#FFFFFF#000000##FFFFFF
##2246B51.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2246b5;
/* rgb */ color: rgb(34, 70, 181);
/* oklch */ color: oklch(44.3% 0.181 265.5);
Tailwind
colors: {
  custom: {
    50: '#7779cc',
    500: '#2246b5',
    950: '#000000',
  },
}
SCSS
$custom: #2246b5;
$custom-light: #7779cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2246b5",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 225.306,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.1806,
    "h": 265.5
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#2246B5
secondary
#CAB269
accent
#C03DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2246B5

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

Preview Lab → · Contrast checker → · Palette generator →

#2246B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva