#242B94#242B94

#242B94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.168 H 271.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#242B94
RGBrgb(36, 43, 148)
HSLhsl(236, 61%, 36%)
HSVhsv(236, 76%, 58%)
CMYKcmyk(75.7%, 70.9%, 0%, 42%)
CIE-LABlab(24.45, 34.58, -58.14)
CIE-LCHlch(24.45, 67.65, 300.74°)
OKLaboklab(36.3% 0.0047 -0.1682)
OKLCHoklch(36.3% 0.168 271.6)
XYZxyz(6.9349, 4.2402, 28.4642)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B94 #948D24
analogous
#246394 #242B94 #552494
triadic
#242B94 #94242B #2B9424
tetradic
#242B94 #942463 #948D24 #249455
square
#242B94 #942463 #948D24 #249455
split-complementary
#242B94 #945524 #639424
monochromatic
#0C0E32 #181D63 #242B94 #3039C5 #5B63D7

Accessibility & contrast

On white

11.36
#242B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#242B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B94
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B94#FFFFFF#000000##FFFFFF
##242B941.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242b94;
/* rgb */ color: rgb(36, 43, 148);
/* oklch */ color: oklch(36.3% 0.168 271.6);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#242b94',
    950: '#000000',
  },
}
SCSS
$custom: #242b94;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242b94",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 236.25,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.1683,
    "h": 271.6
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#242B94
secondary
#BCB658
accent
#DA44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B94

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

Preview Lab → · Contrast checker → · Palette generator →

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