#242B74#242B74

#242B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.124 H 273.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#242B74
RGBrgb(36, 43, 116)
HSLhsl(235, 53%, 30%)
HSVhsv(235, 69%, 45%)
CMYKcmyk(69%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.44, 22.68, -42.96)
CIE-LCHlch(21.44, 48.58, 297.83°)
OKLaboklab(33.18% 0.0073 -0.1238)
OKLCHoklch(33.18% 0.124 273.4)
XYZxyz(4.7428, 3.3634, 16.9189)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B74 #746D24
analogous
#245374 #242B74 #452474
triadic
#242B74 #74242B #2B7424
tetradic
#242B74 #742453 #746D24 #247445
square
#242B74 #742453 #746D24 #247445
split-complementary
#242B74 #744524 #537424
monochromatic
#070917 #161A45 #242B74 #323CA3 #4B56C7

Accessibility & contrast

On white

12.55
#242B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#242B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B74
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B74#FFFFFF#000000##FFFFFF
##242B741.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242b74;
/* rgb */ color: rgb(36, 43, 116);
/* oklch */ color: oklch(33.2% 0.124 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a649d',
    500: '#242b74',
    950: '#000000',
  },
}
SCSS
$custom: #242b74;
$custom-light: #6a649d;
$custom-dark: #000000;
JSON
{
  "hex": "#242b74",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 234.75,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.12399,
    "h": 273.4
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#242B74
secondary
#A79F4D
accent
#CF4CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242B74

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

Preview Lab → · Contrast checker → · Palette generator →

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