#2243A8#2243A8

#2243A8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.167 H 265.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2243A8
RGBrgb(34, 67, 168)
HSLhsl(225, 66%, 40%)
HSVhsv(225, 80%, 66%)
CMYKcmyk(79.8%, 60.1%, 0%, 34.1%)
CIE-LABlab(32.21, 26.10, -57.57)
CIE-LCHlch(32.21, 63.21, 294.38°)
OKLaboklab(42.54% -0.0126 -0.1664)
OKLCHoklch(42.54% 0.167 265.7)
XYZxyz(9.7322, 7.1804, 37.9112)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2243A8 #A88722
analogous
#2286A8 #2243A8 #4422A8
triadic
#2243A8 #A82243 #43A822
tetradic
#2243A8 #A82286 #A88722 #22A844
square
#2243A8 #A82286 #A88722 #22A844
split-complementary
#2243A8 #A84422 #86A822
monochromatic
#0D1A42 #182F75 #2243A8 #325AD5 #6583E0

Accessibility & contrast

On white

8.62
#2243A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2243A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2243A8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2243A8#FFFFFF#000000##FFFFFF
##2243A81.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2243a8;
/* rgb */ color: rgb(34, 67, 168);
/* oklch */ color: oklch(42.5% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#7476c3',
    500: '#2243a8',
    950: '#000000',
  },
}
SCSS
$custom: #2243a8;
$custom-light: #7476c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2243a8",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 225.224,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.16688,
    "h": 265.7
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#2243A8
secondary
#C5AC61
accent
#BF3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2243A8

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

Preview Lab → · Contrast checker → · Palette generator →

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