#242B76#242B76

#242B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.127 H 273.3°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#242B76
RGBrgb(36, 43, 118)
HSLhsl(235, 53%, 30%)
HSVhsv(235, 69%, 46%)
CMYKcmyk(69.5%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.62, 23.44, -43.96)
CIE-LCHlch(21.62, 49.82, 298.07°)
OKLaboklab(33.36% 0.0072 -0.1267)
OKLCHoklch(33.36% 0.127 273.3)
XYZxyz(4.8604, 3.4104, 17.5382)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B76 #766F24
analogous
#245476 #242B76 #462476
triadic
#242B76 #76242B #2B7624
tetradic
#242B76 #762454 #766F24 #247646
square
#242B76 #762454 #766F24 #247646
split-complementary
#242B76 #764624 #547624
monochromatic
#070918 #161A47 #242B76 #323CA5 #4C57C8

Accessibility & contrast

On white

12.48
#242B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B76
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B76#FFFFFF#000000##FFFFFF
##242B761.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242b76;
/* rgb */ color: rgb(36, 43, 118);
/* oklch */ color: oklch(33.4% 0.127 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a649e',
    500: '#242b76',
    950: '#000000',
  },
}
SCSS
$custom: #242b76;
$custom-light: #6a649e;
$custom-dark: #000000;
JSON
{
  "hex": "#242b76",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 234.878,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33364,
    "c": 0.12692,
    "h": 273.3
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#242B76
secondary
#A9A14D
accent
#D04BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242B76

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

Preview Lab → · Contrast checker → · Palette generator →

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