#242A74#242A74

#242A74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.125 H 273.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#242A74
RGBrgb(36, 42, 116)
HSLhsl(236, 53%, 30%)
HSVhsv(236, 69%, 45%)
CMYKcmyk(69%, 63.8%, 0%, 54.5%)
CIE-LABlab(21.18, 23.37, -43.40)
CIE-LCHlch(21.18, 49.30, 298.30°)
OKLaboklab(32.98% 0.0082 -0.1251)
OKLCHoklch(32.98% 0.125 273.7)
XYZxyz(4.7069, 3.2915, 16.9069)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A74 #746E24
analogous
#245274 #242A74 #462474
triadic
#242A74 #74242A #2A7424
tetradic
#242A74 #742452 #746E24 #247446
square
#242A74 #742452 #746E24 #247446
split-complementary
#242A74 #744624 #527424
monochromatic
#070817 #161945 #242A74 #323BA3 #4B54C7

Accessibility & contrast

On white

12.66
#242A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A74
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A74#FFFFFF#000000##FFFFFF
##242A741.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242a74;
/* rgb */ color: rgb(36, 42, 116);
/* oklch */ color: oklch(33.0% 0.125 273.7);
Tailwind
colors: {
  custom: {
    50: '#6a639d',
    500: '#242a74',
    950: '#000000',
  },
}
SCSS
$custom: #242a74;
$custom-light: #6a639d;
$custom-dark: #000000;
JSON
{
  "hex": "#242a74",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 235.5,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.12535,
    "h": 273.7
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#242A74
secondary
#A7A04D
accent
#D14CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242A74

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

Preview Lab → · Contrast checker → · Palette generator →

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