#242BAF#242BAF

#242BAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.202 H 270.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#242BAF
RGBrgb(36, 43, 175)
HSLhsl(237, 66%, 41%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.4%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.29, 44.03, -69.86)
CIE-LCHlch(27.29, 82.58, 302.22°)
OKLaboklab(39.17% 0.0008 -0.2023)
OKLCHoklch(39.17% 0.202 270.2)
XYZxyz(9.3267, 5.1969, 41.0607)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BAF #AFA824
analogous
#2471AF #242BAF #6324AF
triadic
#242BAF #AF242B #2BAF24
tetradic
#242BAF #AF2471 #AFA824 #24AF63
square
#242BAF #AF2471 #AFA824 #24AF63
split-complementary
#242BAF #AF6324 #71AF24
monochromatic
#0F1249 #1A1F7C #242BAF #3A42D6 #6D72E1

Accessibility & contrast

On white

10.30
#242BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#242BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BAF
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BAF#FFFFFF#000000##FFFFFF
##242BAF1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242baf;
/* rgb */ color: rgb(36, 43, 175);
/* oklch */ color: oklch(39.2% 0.202 270.2);
Tailwind
colors: {
  custom: {
    50: '#7866c8',
    500: '#242baf',
    950: '#000000',
  },
}
SCSS
$custom: #242baf;
$custom-light: #7866c8;
$custom-dark: #000000;
JSON
{
  "hex": "#242baf",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 236.978,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.20234,
    "h": 270.2
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#242BAF
secondary
#C7C268
accent
#E03FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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