#242BA9#242BA9

#242BA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.195 H 270.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#242BA9
RGBrgb(36, 43, 169)
HSLhsl(237, 65%, 40%)
HSVhsv(237, 79%, 66%)
CMYKcmyk(78.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.64, 41.98, -67.33)
CIE-LCHlch(26.64, 79.34, 301.95°)
OKLaboklab(38.52% 0.0017 -0.195)
OKLCHoklch(38.52% 0.195 270.5)
XYZxyz(8.7504, 4.9664, 38.0259)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BA9 #A9A224
analogous
#246EA9 #242BA9 #5F24A9
triadic
#242BA9 #A9242B #2BA924
tetradic
#242BA9 #A9246E #A9A224 #24A95F
square
#242BA9 #A9246E #A9A224 #24A95F
split-complementary
#242BA9 #A95F24 #6EA924
monochromatic
#0F1144 #191E77 #242BA9 #363ED4 #686FDF

Accessibility & contrast

On white

10.53
#242BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#242BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BA9
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BA9#FFFFFF#000000##FFFFFF
##242BA91.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242ba9;
/* rgb */ color: rgb(36, 43, 169);
/* oklch */ color: oklch(38.5% 0.195 270.5);
Tailwind
colors: {
  custom: {
    50: '#7766c4',
    500: '#242ba9',
    950: '#000000',
  },
}
SCSS
$custom: #242ba9;
$custom-light: #7766c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242ba9",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 236.842,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.19499,
    "h": 270.5
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#242BA9
secondary
#C5C064
accent
#DF40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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