#242995#242995

#242995 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.172 H 271.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#242995
RGBrgb(36, 41, 149)
HSLhsl(237, 61%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(75.8%, 72.5%, 0%, 41.6%)
CIE-LABlab(24.10, 36.19, -59.34)
CIE-LCHlch(24.10, 69.50, 301.38°)
OKLaboklab(36.07% 0.0057 -0.1717)
OKLCHoklch(36.07% 0.172 271.9)
XYZxyz(6.9435, 4.1301, 28.8592)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242995 #959024
analogous
#246295 #242995 #582495
triadic
#242995 #952429 #299524
tetradic
#242995 #952462 #959024 #249558
square
#242995 #952462 #959024 #249558
split-complementary
#242995 #955824 #629524
monochromatic
#0C0E32 #181B64 #242995 #3037C6 #5C61D8

Accessibility & contrast

On white

11.50
#242995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242995
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242995#FFFFFF#000000##FFFFFF
##2429951.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242995;
/* rgb */ color: rgb(36, 41, 149);
/* oklch */ color: oklch(36.1% 0.172 271.9);
Tailwind
colors: {
  custom: {
    50: '#7263b5',
    500: '#242995',
    950: '#000000',
  },
}
SCSS
$custom: #242995;
$custom-light: #7263b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242995",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 237.345,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36074,
    "c": 0.17181,
    "h": 271.9
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#242995
secondary
#BCB859
accent
#DD44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242995

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

Preview Lab → · Contrast checker → · Palette generator →

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