#2242B0#2242B0

#2242B0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.179 H 266.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2242B0
RGBrgb(34, 66, 176)
HSLhsl(226, 68%, 41%)
HSVhsv(226, 81%, 69%)
CMYKcmyk(80.7%, 62.5%, 0%, 31%)
CIE-LABlab(32.63, 29.84, -61.66)
CIE-LCHlch(32.63, 68.50, 295.82°)
OKLaboklab(43.06% -0.0119 -0.1784)
OKLCHoklch(43.06% 0.179 266.2)
XYZxyz(10.4416, 7.3699, 41.9381)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2242B0 #B09022
analogous
#2289B0 #2242B0 #4922B0
triadic
#2242B0 #B02242 #42B022
tetradic
#2242B0 #B02289 #B09022 #22B049
square
#2242B0 #B02289 #B09022 #22B049
split-complementary
#2242B0 #B04922 #89B022
monochromatic
#0E1C49 #182F7D #2242B0 #375BD8 #6A85E2

Accessibility & contrast

On white

8.49
#2242B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2242B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2242B0
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2242B0#FFFFFF#000000##FFFFFF
##2242B01.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2242b0;
/* rgb */ color: rgb(34, 66, 176);
/* oklch */ color: oklch(43.1% 0.179 266.2);
Tailwind
colors: {
  custom: {
    50: '#7676c9',
    500: '#2242b0',
    950: '#000000',
  },
}
SCSS
$custom: #2242b0;
$custom-light: #7676c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2242b0",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 226.479,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.17882,
    "h": 266.2
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#2242B0
secondary
#C8B266
accent
#C33DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2242B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2242B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva