#242FBC#242FBC

#242FBC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.214 H 269.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#242FBC
RGBrgb(36, 47, 188)
HSLhsl(236, 68%, 44%)
HSVhsv(236, 81%, 74%)
CMYKcmyk(80.9%, 75%, 0%, 26.3%)
CIE-LABlab(29.51, 46.16, -73.93)
CIE-LCHlch(29.51, 87.15, 301.98°)
OKLaboklab(41.17% -0.0026 -0.2142)
OKLCHoklch(41.17% 0.214 269.3)
XYZxyz(10.8181, 6.0377, 48.1624)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242FBC #BCB124
analogous
#247BBC #242FBC #6524BC
triadic
#242FBC #BC242F #2FBC24
tetradic
#242FBC #BC247B #BCB124 #24BC65
square
#242FBC #BC247B #BCB124 #24BC65
split-complementary
#242FBC #BC6524 #7BBC24
monochromatic
#101555 #1A2289 #242FBC #424DDB #767EE5

Accessibility & contrast

On white

9.51
#242FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#242FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242FBC
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242FBC#FFFFFF#000000##FFFFFF
##242FBC1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #242fbc;
/* rgb */ color: rgb(36, 47, 188);
/* oklch */ color: oklch(41.2% 0.214 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b69d2',
    500: '#242fbc',
    950: '#000000',
  },
}
SCSS
$custom: #242fbc;
$custom-light: #7b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#242fbc",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 235.658,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.2142,
    "h": 269.3
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#242FBC
secondary
#CCC570
accent
#DE3DEB
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #242FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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