#242AA8#242AA8

#242AA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.195 H 270.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#242AA8
RGBrgb(36, 42, 168)
HSLhsl(237, 65%, 40%)
HSVhsv(237, 79%, 66%)
CMYKcmyk(78.6%, 75%, 0%, 34.1%)
CIE-LABlab(26.32, 42.22, -67.25)
CIE-LCHlch(26.32, 79.40, 302.12°)
OKLaboklab(38.26% 0.0023 -0.1947)
OKLCHoklch(38.26% 0.195 270.7)
XYZxyz(8.6210, 4.8572, 37.5214)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242AA8 #A8A224
analogous
#246CA8 #242AA8 #6024A8
triadic
#242AA8 #A8242A #2AA824
tetradic
#242AA8 #A8246C #A8A224 #24A860
square
#242AA8 #A8246C #A8A224 #24A860
split-complementary
#242AA8 #A86024 #6CA824
monochromatic
#0E1143 #191D76 #242AA8 #353DD4 #686DDF

Accessibility & contrast

On white

10.65
#242AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#242AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242AA8
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242AA8#FFFFFF#000000##FFFFFF
##242AA81.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #242aa8;
/* rgb */ color: rgb(36, 42, 168);
/* oklch */ color: oklch(38.3% 0.195 270.7);
Tailwind
colors: {
  custom: {
    50: '#7765c3',
    500: '#242aa8',
    950: '#000000',
  },
}
SCSS
$custom: #242aa8;
$custom-light: #7765c3;
$custom-dark: #000000;
JSON
{
  "hex": "#242aa8",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 237.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.19475,
    "h": 270.7
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#242AA8
secondary
#C4C063
accent
#E040E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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