#2246AF#2246AF

#2246AF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.173 H 265.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2246AF
RGBrgb(34, 70, 175)
HSLhsl(225, 67%, 41%)
HSVhsv(225, 81%, 69%)
CMYKcmyk(80.6%, 60%, 0%, 31.4%)
CIE-LABlab(33.59, 26.80, -59.50)
CIE-LCHlch(33.59, 65.26, 294.24°)
OKLaboklab(43.75% -0.0143 -0.172)
OKLCHoklch(43.75% 0.173 265.3)
XYZxyz(10.5850, 7.8143, 41.4996)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246AF #AF8B22
analogous
#228CAF #2246AF #4422AF
triadic
#2246AF #AF2246 #46AF22
tetradic
#2246AF #AF228C #AF8B22 #22AF44
square
#2246AF #AF228C #AF8B22 #22AF44
split-complementary
#2246AF #AF4422 #8CAF22
monochromatic
#0E1D49 #18327C #2246AF #3660D8 #6988E2

Accessibility & contrast

On white

8.19
#2246AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2246AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246AF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246AF#FFFFFF#000000##FFFFFF
##2246AF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2246af;
/* rgb */ color: rgb(34, 70, 175);
/* oklch */ color: oklch(43.8% 0.173 265.3);
Tailwind
colors: {
  custom: {
    50: '#7579c8',
    500: '#2246af',
    950: '#000000',
  },
}
SCSS
$custom: #2246af;
$custom-light: #7579c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2246af",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 224.681,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.17261,
    "h": 265.3
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#2246AF
secondary
#C8AF65
accent
#BE3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2246AF

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

Preview Lab → · Contrast checker → · Palette generator →

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