#242A94#242A94

#242A94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.169 H 271.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#242A94
RGBrgb(36, 42, 148)
HSLhsl(237, 61%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(75.7%, 71.6%, 0%, 42%)
CIE-LABlab(24.22, 35.21, -58.52)
CIE-LCHlch(24.22, 68.29, 301.03°)
OKLaboklab(36.13% 0.0053 -0.1693)
OKLCHoklch(36.13% 0.169 271.8)
XYZxyz(6.8990, 4.1684, 28.4522)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A94 #948E24
analogous
#246294 #242A94 #562494
triadic
#242A94 #94242A #2A9424
tetradic
#242A94 #942462 #948E24 #249456
square
#242A94 #942462 #948E24 #249456
split-complementary
#242A94 #945624 #629424
monochromatic
#0C0E32 #181C63 #242A94 #3038C5 #5B62D7

Accessibility & contrast

On white

11.45
#242A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#242A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A94
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A94#FFFFFF#000000##FFFFFF
##242A941.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a94;
/* rgb */ color: rgb(36, 42, 148);
/* oklch */ color: oklch(36.1% 0.169 271.8);
Tailwind
colors: {
  custom: {
    50: '#7164b4',
    500: '#242a94',
    950: '#000000',
  },
}
SCSS
$custom: #242a94;
$custom-light: #7164b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242a94",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 236.786,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36132,
    "c": 0.16941,
    "h": 271.8
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242A94

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

Preview Lab → · Contrast checker → · Palette generator →

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