#242AAF#242AAF

#242AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.203 H 270.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#242AAF
RGBrgb(36, 42, 175)
HSLhsl(237, 66%, 41%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.4%, 76%, 0%, 31.4%)
CIE-LABlab(27.09, 44.60, -70.19)
CIE-LCHlch(27.09, 83.16, 302.43°)
OKLaboklab(39.03% 0.0011 -0.2033)
OKLCHoklch(39.03% 0.203 270.3)
XYZxyz(9.2907, 5.1251, 41.0487)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242AAF #AFA924
analogous
#2470AF #242AAF #6424AF
triadic
#242AAF #AF242A #2AAF24
tetradic
#242AAF #AF2470 #AFA924 #24AF64
square
#242AAF #AF2470 #AFA924 #24AF64
split-complementary
#242AAF #AF6424 #70AF24
monochromatic
#0F1249 #1A1E7C #242AAF #3A41D6 #6D72E1

Accessibility & contrast

On white

10.37
#242AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#242AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242AAF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242AAF#FFFFFF#000000##FFFFFF
##242AAF1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242aaf;
/* rgb */ color: rgb(36, 42, 175);
/* oklch */ color: oklch(39.0% 0.203 270.3);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#242aaf',
    950: '#000000',
  },
}
SCSS
$custom: #242aaf;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#242aaf",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 237.41,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.20329,
    "h": 270.3
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#242AAF
secondary
#C7C368
accent
#E13FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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