#242297#242297

#242297 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.182 H 272.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#242297
RGBrgb(36, 34, 151)
HSLhsl(241, 63%, 36%)
HSVhsv(241, 77%, 59%)
CMYKcmyk(76.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(22.84, 41.02, -62.65)
CIE-LCHlch(22.84, 74.88, 303.21°)
OKLaboklab(35.24% 0.0087 -0.1813)
OKLCHoklch(35.24% 0.182 272.7)
XYZxyz(6.8836, 3.7528, 29.6337)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242297 #959722
analogous
#225B97 #242297 #5F2297
triadic
#242297 #972422 #229724
tetradic
#242297 #97225B #959722 #22975F
square
#242297 #97225B #959722 #22975F
split-complementary
#242297 #975F22 #5B9722
monochromatic
#0C0C33 #181765 #242297 #302DC9 #5C5ADA

Accessibility & contrast

On white

12.00
#242297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#242297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242297
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242297#FFFFFF#000000##FFFFFF
##2422971.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242297;
/* rgb */ color: rgb(36, 34, 151);
/* oklch */ color: oklch(35.2% 0.182 272.7);
Tailwind
colors: {
  custom: {
    50: '#735fb7',
    500: '#242297',
    950: '#000000',
  },
}
SCSS
$custom: #242297;
$custom-light: #735fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#242297",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 241.026,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.18152,
    "h": 272.7
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#242297
secondary
#BCBE57
accent
#E642E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242297

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

Preview Lab → · Contrast checker → · Palette generator →

#242297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva