#242C9F#242C9F

#242C9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.181 H 270.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#242C9F
RGBrgb(36, 44, 159)
HSLhsl(236, 63%, 38%)
HSVhsv(236, 77%, 62%)
CMYKcmyk(77.4%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.80, 37.89, -62.66)
CIE-LCHlch(25.80, 73.22, 301.16°)
OKLaboklab(37.61% 0.0028 -0.1814)
OKLCHoklch(37.61% 0.181 270.9)
XYZxyz(7.8841, 4.6788, 33.2817)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C9F #9F9724
analogous
#24699F #242C9F #5A249F
triadic
#242C9F #9F242C #2C9F24
tetradic
#242C9F #9F2469 #9F9724 #249F5A
square
#242C9F #9F2469 #9F9724 #249F5A
split-complementary
#242C9F #9F5A24 #699F24
monochromatic
#0D103B #191E6D #242C9F #303AD0 #626ADB

Accessibility & contrast

On white

10.85
#242C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#242C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C9F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C9F#FFFFFF#000000##FFFFFF
##242C9F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242c9f;
/* rgb */ color: rgb(36, 44, 159);
/* oklch */ color: oklch(37.6% 0.181 270.9);
Tailwind
colors: {
  custom: {
    50: '#7466bd',
    500: '#242c9f',
    950: '#000000',
  },
}
SCSS
$custom: #242c9f;
$custom-light: #7466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#242c9f",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 236.098,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.18141,
    "h": 270.9
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#242C9F
secondary
#C1BA5E
accent
#DB42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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