#242A95#242A95

#242A95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.171 H 271.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#242A95
RGBrgb(36, 42, 149)
HSLhsl(237, 61%, 36%)
HSVhsv(237, 76%, 58%)
CMYKcmyk(75.8%, 71.8%, 0%, 41.6%)
CIE-LABlab(24.32, 35.56, -58.97)
CIE-LCHlch(24.32, 68.86, 301.10°)
OKLaboklab(36.24% 0.0052 -0.1706)
OKLCHoklch(36.24% 0.171 271.7)
XYZxyz(6.9785, 4.2002, 28.8709)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A95 #958F24
analogous
#246395 #242A95 #572495
triadic
#242A95 #95242A #2A9524
tetradic
#242A95 #952463 #958F24 #249557
square
#242A95 #952463 #958F24 #249557
split-complementary
#242A95 #955724 #639524
monochromatic
#0C0E32 #181C64 #242A95 #3038C6 #5C62D8

Accessibility & contrast

On white

11.41
#242A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#242A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A95
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A95#FFFFFF#000000##FFFFFF
##242A951.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a95;
/* rgb */ color: rgb(36, 42, 149);
/* oklch */ color: oklch(36.2% 0.171 271.7);
Tailwind
colors: {
  custom: {
    50: '#7264b5',
    500: '#242a95',
    950: '#000000',
  },
}
SCSS
$custom: #242a95;
$custom-light: #7264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242a95",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 236.814,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.17071,
    "h": 271.7
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#242A95
secondary
#BCB759
accent
#DC44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242A95

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

Preview Lab → · Contrast checker → · Palette generator →

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