#242FA9#242FA9

#242FA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.191 H 270.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#242FA9
RGBrgb(36, 47, 169)
HSLhsl(235, 65%, 40%)
HSVhsv(235, 79%, 66%)
CMYKcmyk(78.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(27.50, 39.60, -65.91)
CIE-LCHlch(27.50, 76.89, 300.99°)
OKLaboklab(39.13% 0.0001 -0.1909)
OKLCHoklch(39.13% 0.191 270)
XYZxyz(8.9031, 5.2717, 38.0767)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242FA9 #A99E24
analogous
#2471A9 #242FA9 #5C24A9
triadic
#242FA9 #A9242F #2FA924
tetradic
#242FA9 #A92471 #A99E24 #24A95C
square
#242FA9 #A92471 #A99E24 #24A95C
split-complementary
#242FA9 #A95C24 #71A924
monochromatic
#0F1344 #192177 #242FA9 #3643D4 #6872DF

Accessibility & contrast

On white

10.22
#242FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#242FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242FA9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242FA9#FFFFFF#000000##FFFFFF
##242FA91.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #242fa9;
/* rgb */ color: rgb(36, 47, 169);
/* oklch */ color: oklch(39.1% 0.191 270.0);
Tailwind
colors: {
  custom: {
    50: '#7668c4',
    500: '#242fa9',
    950: '#000000',
  },
}
SCSS
$custom: #242fa9;
$custom-light: #7668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242fa9",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 235.038,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.19089,
    "h": 270
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#242FA9
secondary
#C5BD64
accent
#DA40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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