#242D94#242D94

#242D94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.166 H 271.2°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#242D94
RGBrgb(36, 45, 148)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 58%)
CMYKcmyk(75.7%, 69.6%, 0%, 42%)
CIE-LABlab(24.92, 33.30, -57.37)
CIE-LCHlch(24.92, 66.34, 300.14°)
OKLaboklab(36.64% 0.0036 -0.166)
OKLCHoklch(36.64% 0.166 271.2)
XYZxyz(7.0094, 4.3892, 28.4890)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D94 #948B24
analogous
#246594 #242D94 #532494
triadic
#242D94 #94242D #2D9424
tetradic
#242D94 #942465 #948B24 #249453
square
#242D94 #942465 #948B24 #249453
split-complementary
#242D94 #945324 #659424
monochromatic
#0C0F32 #181E63 #242D94 #303CC5 #5B65D7

Accessibility & contrast

On white

11.18
#242D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#242D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D94
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D94#FFFFFF#000000##FFFFFF
##242D941.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242d94;
/* rgb */ color: rgb(36, 45, 148);
/* oklch */ color: oklch(36.6% 0.166 271.2);
Tailwind
colors: {
  custom: {
    50: '#7166b4',
    500: '#242d94',
    950: '#000000',
  },
}
SCSS
$custom: #242d94;
$custom-light: #7166b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242d94",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 235.179,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.16601,
    "h": 271.2
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#242D94
secondary
#BCB458
accent
#D744E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242D94

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

Preview Lab → · Contrast checker → · Palette generator →

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