#2243A7#2243A7

#2243A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.166 H 265.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2243A7
RGBrgb(34, 67, 167)
HSLhsl(225, 66%, 39%)
HSVhsv(225, 80%, 65%)
CMYKcmyk(79.6%, 59.9%, 0%, 34.5%)
CIE-LABlab(32.13, 25.71, -57.11)
CIE-LCHlch(32.13, 62.63, 294.24°)
OKLaboklab(42.45% -0.0126 -0.165)
OKLCHoklch(42.45% 0.166 265.6)
XYZxyz(9.6394, 7.1433, 37.4225)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2243A7 #A78622
analogous
#2286A7 #2243A7 #4422A7
triadic
#2243A7 #A72243 #43A722
tetradic
#2243A7 #A72286 #A78622 #22A744
square
#2243A7 #A72286 #A78622 #22A744
split-complementary
#2243A7 #A74422 #86A722
monochromatic
#0D1A41 #182F74 #2243A7 #315AD5 #6483DF

Accessibility & contrast

On white

8.65
#2243A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2243A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2243A7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2243A7#FFFFFF#000000##FFFFFF
##2243A71.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2243a7;
/* rgb */ color: rgb(34, 67, 167);
/* oklch */ color: oklch(42.5% 0.166 265.6);
Tailwind
colors: {
  custom: {
    50: '#7376c2',
    500: '#2243a7',
    950: '#000000',
  },
}
SCSS
$custom: #2243a7;
$custom-light: #7376c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2243a7",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 225.113,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.16553,
    "h": 265.6
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#2243A7
secondary
#C5AC60
accent
#BF3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2243A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2243A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva