#242577#242577

#242577 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.136 H 275.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#242577
RGBrgb(36, 37, 119)
HSLhsl(239, 54%, 30%)
HSVhsv(239, 70%, 47%)
CMYKcmyk(69.7%, 68.9%, 0%, 53.3%)
CIE-LABlab(20.16, 27.88, -46.98)
CIE-LCHlch(20.16, 54.63, 300.69°)
OKLaboklab(32.33% 0.0122 -0.1356)
OKLCHoklch(32.33% 0.136 275.1)
XYZxyz(4.7178, 3.0297, 17.7854)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242577 #777624
analogous
#244E77 #242577 #4C2477
triadic
#242577 #772425 #257724
tetradic
#242577 #77244E #777624 #24774C
square
#242577 #77244E #777624 #24774C
split-complementary
#242577 #774C24 #4E7724
monochromatic
#080819 #161648 #242577 #3234A6 #4C4EC9

Accessibility & contrast

On white

13.08
#242577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242577
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242577#FFFFFF#000000##FFFFFF
##2425771.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242577;
/* rgb */ color: rgb(36, 37, 119);
/* oklch */ color: oklch(32.3% 0.136 275.1);
Tailwind
colors: {
  custom: {
    50: '#6b609f',
    500: '#242577',
    950: '#000000',
  },
}
SCSS
$custom: #242577;
$custom-light: #6b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#242577",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 119
  },
  "hsl": {
    "h": 239.277,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.13615,
    "h": 275.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#242577
secondary
#AAA94D
accent
#DB4BDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #242577

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

Preview Lab → · Contrast checker → · Palette generator →

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