#242095#242095

#242095 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.181 H 273.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#242095
RGBrgb(36, 32, 149)
HSLhsl(242, 65%, 35%)
HSVhsv(242, 79%, 58%)
CMYKcmyk(75.8%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.22, 41.46, -62.43)
CIE-LCHlch(22.22, 74.95, 303.59°)
OKLaboklab(34.74% 0.0099 -0.1807)
OKLCHoklch(34.74% 0.181 273.1)
XYZxyz(6.6671, 3.5773, 28.7671)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242095 #919520
analogous
#205795 #242095 #5E2095
triadic
#242095 #952420 #209524
tetradic
#242095 #952057 #919520 #20955E
square
#242095 #952057 #919520 #20955E
split-complementary
#242095 #955E20 #579520
monochromatic
#0C0A30 #181563 #242095 #302BC7 #5955DA

Accessibility & contrast

On white

12.24
#242095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#242095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242095
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242095#FFFFFF#000000##FFFFFF
##2420951.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242095;
/* rgb */ color: rgb(36, 32, 149);
/* oklch */ color: oklch(34.7% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#735eb5',
    500: '#242095',
    950: '#000000',
  },
}
SCSS
$custom: #242095;
$custom-light: #735eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#242095",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 242.051,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34742,
    "c": 0.18093,
    "h": 273.1
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#242095
secondary
#BABE53
accent
#E840E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242095

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

Preview Lab → · Contrast checker → · Palette generator →

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