#2243B2#2243B2

#2243B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.180 H 266.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2243B2
RGBrgb(34, 67, 178)
HSLhsl(226, 68%, 42%)
HSVhsv(226, 81%, 70%)
CMYKcmyk(80.9%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.07, 29.94, -62.15)
CIE-LCHlch(33.07, 68.98, 295.72°)
OKLaboklab(43.44% -0.0125 -0.1798)
OKLCHoklch(43.44% 0.18 266)
XYZxyz(10.6999, 7.5675, 43.0076)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2243B2 #B29122
analogous
#228BB2 #2243B2 #4922B2
triadic
#2243B2 #B22243 #43B222
tetradic
#2243B2 #B2228B #B29122 #22B249
square
#2243B2 #B2228B #B29122 #22B249
split-complementary
#2243B2 #B24922 #8BB222
monochromatic
#0E1C4B #18307F #2243B2 #385DD9 #6C87E3

Accessibility & contrast

On white

8.35
#2243B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2243B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2243B2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2243B2#FFFFFF#000000##FFFFFF
##2243B21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2243b2;
/* rgb */ color: rgb(34, 67, 178);
/* oklch */ color: oklch(43.4% 0.180 266.0);
Tailwind
colors: {
  custom: {
    50: '#7676ca',
    500: '#2243b2',
    950: '#000000',
  },
}
SCSS
$custom: #2243b2;
$custom-light: #7676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2243b2",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 226.25,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.18025,
    "h": 266
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#2243B2
secondary
#C9B267
accent
#C33DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2243B2

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

Preview Lab → · Contrast checker → · Palette generator →

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