#242274#242274

#242274 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.136 H 276.3°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#242274
RGBrgb(36, 34, 116)
HSLhsl(241, 55%, 29%)
HSVhsv(241, 71%, 45%)
CMYKcmyk(69%, 70.7%, 0%, 54.5%)
CIE-LABlab(19.14, 28.76, -46.73)
CIE-LCHlch(19.14, 54.87, 301.61°)
OKLaboklab(31.5% 0.0149 -0.1349)
OKLCHoklch(31.5% 0.136 276.3)
XYZxyz(4.4509, 2.7797, 16.8216)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242274 #727422
analogous
#224974 #242274 #4D2274
triadic
#242274 #742422 #227424
tetradic
#242274 #742249 #727422 #22744D
square
#242274 #742249 #727422 #22744D
split-complementary
#242274 #744D22 #497422
monochromatic
#070718 #151445 #242274 #3330A3 #4A47C9

Accessibility & contrast

On white

13.50
#242274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#242274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242274
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242274#FFFFFF#000000##FFFFFF
##2422741.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #242274;
/* rgb */ color: rgb(36, 34, 116);
/* oklch */ color: oklch(31.5% 0.136 276.3);
Tailwind
colors: {
  custom: {
    50: '#6a5d9d',
    500: '#242274',
    950: '#000000',
  },
}
SCSS
$custom: #242274;
$custom-light: #6a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#242274",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 241.463,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31495,
    "c": 0.13571,
    "h": 276.3
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#242274
secondary
#A5A74B
accent
#DE4ADA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242274

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

Preview Lab → · Contrast checker → · Palette generator →

#242274 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva