#2243A2#2243A2

#2243A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.159 H 265.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2243A2
RGBrgb(34, 67, 162)
HSLhsl(225, 65%, 38%)
HSVhsv(225, 79%, 64%)
CMYKcmyk(79%, 58.6%, 0%, 36.5%)
CIE-LABlab(31.72, 23.77, -54.77)
CIE-LCHlch(31.72, 59.71, 293.46°)
OKLaboklab(42.02% -0.0128 -0.1582)
OKLCHoklch(42.02% 0.159 265.4)
XYZxyz(9.1861, 6.9620, 35.0351)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2243A2 #A28122
analogous
#2283A2 #2243A2 #4122A2
triadic
#2243A2 #A22243 #43A222
tetradic
#2243A2 #A22283 #A28122 #22A241
square
#2243A2 #A22283 #A28122 #22A241
split-complementary
#2243A2 #A24122 #83A222
monochromatic
#0D193D #172E6F #2243A2 #2E59D3 #6181DE

Accessibility & contrast

On white

8.78
#2243A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2243A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2243A2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2243A2#FFFFFF#000000##FFFFFF
##2243A21.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2243a2;
/* rgb */ color: rgb(34, 67, 162);
/* oklch */ color: oklch(42.0% 0.159 265.4);
Tailwind
colors: {
  custom: {
    50: '#7276be',
    500: '#2243a2',
    950: '#000000',
  },
}
SCSS
$custom: #2243a2;
$custom-light: #7276be;
$custom-dark: #000000;
JSON
{
  "hex": "#2243a2",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 224.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.15871,
    "h": 265.4
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#2243A2
secondary
#C3A85D
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2243A2

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

Preview Lab → · Contrast checker → · Palette generator →

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