#242279#242279

#242279 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.143 H 275.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#242279
RGBrgb(36, 34, 121)
HSLhsl(241, 56%, 30%)
HSVhsv(241, 72%, 47%)
CMYKcmyk(70.2%, 71.9%, 0%, 52.5%)
CIE-LABlab(19.64, 30.56, -49.12)
CIE-LCHlch(19.64, 57.85, 301.89°)
OKLaboklab(32.01% 0.0142 -0.1419)
OKLCHoklch(32.01% 0.143 275.7)
XYZxyz(4.7496, 2.8992, 18.3947)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242279 #777922
analogous
#224C79 #242279 #4F2279
triadic
#242279 #792422 #227924
tetradic
#242279 #79224C #777922 #22794F
square
#242279 #79224C #777922 #22794F
split-complementary
#242279 #794F22 #4C7922
monochromatic
#080719 #161549 #242279 #322FA9 #4C49CC

Accessibility & contrast

On white

13.29
#242279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#242279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242279
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242279#FFFFFF#000000##FFFFFF
##2422791.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242279;
/* rgb */ color: rgb(36, 34, 121);
/* oklch */ color: oklch(32.0% 0.143 275.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ea1',
    500: '#242279',
    950: '#000000',
  },
}
SCSS
$custom: #242279;
$custom-light: #6c5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#242279",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 241.379,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.14259,
    "h": 275.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#242279
secondary
#AAAC4B
accent
#DF48DC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #242279

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

Preview Lab → · Contrast checker → · Palette generator →

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