#242B95#242B95

#242B95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.170 H 271.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#242B95
RGBrgb(36, 43, 149)
HSLhsl(236, 61%, 36%)
HSVhsv(236, 76%, 58%)
CMYKcmyk(75.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.55, 34.94, -58.59)
CIE-LCHlch(24.55, 68.22, 300.81°)
OKLaboklab(36.4% 0.0046 -0.1695)
OKLCHoklch(36.4% 0.17 271.6)
XYZxyz(7.0144, 4.2720, 28.8828)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B95 #958E24
analogous
#246495 #242B95 #562495
triadic
#242B95 #95242B #2B9524
tetradic
#242B95 #952464 #958E24 #249556
square
#242B95 #952464 #958E24 #249556
split-complementary
#242B95 #955624 #649524
monochromatic
#0C0F32 #181D64 #242B95 #3039C6 #5C63D8

Accessibility & contrast

On white

11.32
#242B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242B95
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B95#FFFFFF#000000##FFFFFF
##242B951.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242b95;
/* rgb */ color: rgb(36, 43, 149);
/* oklch */ color: oklch(36.4% 0.170 271.6);
Tailwind
colors: {
  custom: {
    50: '#7265b5',
    500: '#242b95',
    950: '#000000',
  },
}
SCSS
$custom: #242b95;
$custom-light: #7265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242b95",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 236.283,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.1696,
    "h": 271.6
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242B95

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

Preview Lab → · Contrast checker → · Palette generator →

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