#242F74#242F74

#242F74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.119 H 271.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#242F74
RGBrgb(36, 47, 116)
HSLhsl(232, 53%, 30%)
HSVhsv(232, 69%, 45%)
CMYKcmyk(69%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.54, 19.89, -41.17)
CIE-LCHlch(22.54, 45.73, 295.79°)
OKLaboklab(34% 0.0036 -0.1185)
OKLCHoklch(34% 0.119 271.7)
XYZxyz(4.8954, 3.6686, 16.9697)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F74 #746924
analogous
#245774 #242F74 #412474
triadic
#242F74 #74242F #2F7424
tetradic
#242F74 #742457 #746924 #247441
square
#242F74 #742457 #746924 #247441
split-complementary
#242F74 #744124 #577424
monochromatic
#070917 #161C45 #242F74 #3242A3 #4B5CC7

Accessibility & contrast

On white

12.11
#242F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F74
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F74#FFFFFF#000000##FFFFFF
##242F741.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242f74;
/* rgb */ color: rgb(36, 47, 116);
/* oklch */ color: oklch(34.0% 0.119 271.7);
Tailwind
colors: {
  custom: {
    50: '#69679d',
    500: '#242f74',
    950: '#000000',
  },
}
SCSS
$custom: #242f74;
$custom-light: #69679d;
$custom-dark: #000000;
JSON
{
  "hex": "#242f74",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 231.75,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33998,
    "c": 0.11853,
    "h": 271.7
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#242F74
secondary
#A79A4D
accent
#C84CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242F74

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

Preview Lab → · Contrast checker → · Palette generator →

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