#242175#242175

#242175 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.138 H 276.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#242175
RGBrgb(36, 33, 117)
HSLhsl(242, 56%, 29%)
HSVhsv(242, 72%, 46%)
CMYKcmyk(69.2%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.00, 29.77, -47.60)
CIE-LCHlch(19.00, 56.15, 302.02°)
OKLaboklab(31.42% 0.0156 -0.1374)
OKLCHoklch(31.42% 0.138 276.5)
XYZxyz(4.4812, 2.7467, 17.1202)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242175 #727521
analogous
#214875 #242175 #4E2175
triadic
#242175 #752421 #217524
tetradic
#242175 #752148 #727521 #21754E
square
#242175 #752148 #727521 #21754E
split-complementary
#242175 #754E21 #487521
monochromatic
#070718 #151445 #242175 #332EA5 #4A46CB

Accessibility & contrast

On white

13.55
#242175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#242175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242175
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242175#FFFFFF#000000##FFFFFF
##2421751.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242175;
/* rgb */ color: rgb(36, 33, 117);
/* oklch */ color: oklch(31.4% 0.138 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b5d9e',
    500: '#242175',
    950: '#000000',
  },
}
SCSS
$custom: #242175;
$custom-light: #6b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#242175",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 242.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31425,
    "c": 0.13832,
    "h": 276.5
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#242175
secondary
#A5A84A
accent
#DF49DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242175

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

Preview Lab → · Contrast checker → · Palette generator →

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