#242273#242273

#242273 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.134 H 276.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#242273
RGBrgb(36, 34, 115)
HSLhsl(241, 54%, 29%)
HSVhsv(241, 70%, 45%)
CMYKcmyk(68.7%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.04, 28.40, -46.25)
CIE-LCHlch(19.04, 54.27, 301.55°)
OKLaboklab(31.4% 0.0151 -0.1335)
OKLCHoklch(31.4% 0.134 276.4)
XYZxyz(4.3931, 2.7566, 16.5169)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242273 #717322
analogous
#224973 #242273 #4D2273
triadic
#242273 #732422 #227324
tetradic
#242273 #732249 #717322 #22734D
square
#242273 #732249 #717322 #22734D
split-complementary
#242273 #734D22 #497322
monochromatic
#070718 #151444 #242273 #3330A2 #4A47C9

Accessibility & contrast

On white

13.54
#242273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#242273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242273
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242273#FFFFFF#000000##FFFFFF
##2422731.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #242273;
/* rgb */ color: rgb(36, 34, 115);
/* oklch */ color: oklch(31.4% 0.134 276.4);
Tailwind
colors: {
  custom: {
    50: '#6a5d9c',
    500: '#242273',
    950: '#000000',
  },
}
SCSS
$custom: #242273;
$custom-light: #6a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#242273",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 241.481,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31395,
    "c": 0.13432,
    "h": 276.4
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#242273
secondary
#A4A64B
accent
#DE4ADA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242273

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

Preview Lab → · Contrast checker → · Palette generator →

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