#242CA8#242CA8

#242CA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.193 H 270.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#242CA8
RGBrgb(36, 44, 168)
HSLhsl(236, 65%, 40%)
HSVhsv(236, 79%, 66%)
CMYKcmyk(78.6%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.74, 41.05, -66.55)
CIE-LCHlch(26.74, 78.19, 301.66°)
OKLaboklab(38.56% 0.0015 -0.1927)
OKLCHoklch(38.56% 0.193 270.4)
XYZxyz(8.6937, 5.0026, 37.5456)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CA8 #A8A024
analogous
#246EA8 #242CA8 #5E24A8
triadic
#242CA8 #A8242C #2CA824
tetradic
#242CA8 #A8246E #A8A024 #24A85E
square
#242CA8 #A8246E #A8A024 #24A85E
split-complementary
#242CA8 #A85E24 #6EA824
monochromatic
#0E1243 #191F76 #242CA8 #353FD4 #686FDF

Accessibility & contrast

On white

10.50
#242CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#242CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CA8
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CA8#FFFFFF#000000##FFFFFF
##242CA81.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242ca8;
/* rgb */ color: rgb(36, 44, 168);
/* oklch */ color: oklch(38.6% 0.193 270.4);
Tailwind
colors: {
  custom: {
    50: '#7666c3',
    500: '#242ca8',
    950: '#000000',
  },
}
SCSS
$custom: #242ca8;
$custom-light: #7666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#242ca8",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 236.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38562,
    "c": 0.19275,
    "h": 270.4
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#242CA8
secondary
#C4BF63
accent
#DE40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242CA8

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

Preview Lab → · Contrast checker → · Palette generator →

#242CA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva