#242F9A#242F9A

#242F9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.172 H 270.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#242F9A
RGBrgb(36, 47, 154)
HSLhsl(234, 62%, 37%)
HSVhsv(234, 77%, 60%)
CMYKcmyk(76.6%, 69.5%, 0%, 39.6%)
CIE-LABlab(25.98, 34.21, -59.30)
CIE-LCHlch(25.98, 68.47, 299.98°)
OKLaboklab(37.59% 0.0018 -0.1716)
OKLCHoklch(37.59% 0.172 270.6)
XYZxyz(7.5748, 4.7404, 31.0814)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F9A #9A8F24
analogous
#246A9A #242F9A #54249A
triadic
#242F9A #9A242F #2F9A24
tetradic
#242F9A #9A246A #9A8F24 #249A54
square
#242F9A #9A246A #9A8F24 #249A54
split-complementary
#242F9A #9A5424 #6A9A24
monochromatic
#0D1137 #182068 #242F9A #303ECC #5F6ADA

Accessibility & contrast

On white

10.78
#242F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#242F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F9A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F9A#FFFFFF#000000##FFFFFF
##242F9A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242f9a;
/* rgb */ color: rgb(36, 47, 154);
/* oklch */ color: oklch(37.6% 0.172 270.6);
Tailwind
colors: {
  custom: {
    50: '#7268b9',
    500: '#242f9a',
    950: '#000000',
  },
}
SCSS
$custom: #242f9a;
$custom-light: #7268b9;
$custom-dark: #000000;
JSON
{
  "hex": "#242f9a",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 234.407,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37586,
    "c": 0.17163,
    "h": 270.6
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#242F9A
secondary
#BFB55B
accent
#D643E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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