#2246BD#2246BD

#2246BD is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.191 H 265.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2246BD
RGBrgb(34, 70, 189)
HSLhsl(226, 70%, 44%)
HSVhsv(226, 82%, 74%)
CMYKcmyk(82%, 63%, 0%, 25.9%)
CIE-LABlab(34.79, 32.14, -65.82)
CIE-LCHlch(34.79, 73.25, 296.02°)
OKLaboklab(45.01% -0.0141 -0.1905)
OKLCHoklch(45.01% 0.191 265.8)
XYZxyz(12.0319, 8.3931, 49.1201)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246BD #BD9922
analogous
#2293BD #2246BD #4C22BD
triadic
#2246BD #BD2246 #46BD22
tetradic
#2246BD #BD2293 #BD9922 #22BD4C
square
#2246BD #BD2293 #BD9922 #22BD4C
split-complementary
#2246BD #BD4C22 #93BD22
monochromatic
#0F2055 #193389 #2246BD #4064DD #738EE6

Accessibility & contrast

On white

7.84
#2246BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2246BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246BD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246BD#FFFFFF#000000##FFFFFF
##2246BD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2246bd;
/* rgb */ color: rgb(34, 70, 189);
/* oklch */ color: oklch(45.0% 0.191 265.8);
Tailwind
colors: {
  custom: {
    50: '#7979d2',
    500: '#2246bd',
    950: '#000000',
  },
}
SCSS
$custom: #2246bd;
$custom-light: #7979d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2246bd",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 226.065,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.19107,
    "h": 265.8
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#2246BD
secondary
#CDB76E
accent
#C33BEC
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2246BD

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

Preview Lab → · Contrast checker → · Palette generator →

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