#241FB3#241FB3

#241FB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.217 H 270.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#241FB3
RGBrgb(36, 31, 179)
HSLhsl(242, 70%, 41%)
HSVhsv(242, 83%, 70%)
CMYKcmyk(79.9%, 82.7%, 0%, 29.8%)
CIE-LABlab(25.59, 51.56, -75.07)
CIE-LCHlch(25.59, 91.07, 304.48°)
OKLaboklab(38.12% 0.0034 -0.2173)
OKLCHoklch(38.12% 0.217 270.9)
XYZxyz(9.3515, 4.6087, 43.0358)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FB3 #AEB31F
analogous
#1F64B3 #241FB3 #6E1FB3
triadic
#241FB3 #B3241F #1FB324
tetradic
#241FB3 #B31F64 #AEB31F #1FB36E
square
#241FB3 #B31F64 #AEB31F #1FB36E
split-complementary
#241FB3 #B36E1F #64B31F
monochromatic
#0F0D4B #1A167F #241FB3 #3933DC #6C68E5

Accessibility & contrast

On white

10.93
#241FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#241FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FB3
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FB3#FFFFFF#000000##FFFFFF
##241FB31.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #241fb3;
/* rgb */ color: rgb(36, 31, 179);
/* oklch */ color: oklch(38.1% 0.217 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a5fcb',
    500: '#241fb3',
    950: '#000000',
  },
}
SCSS
$custom: #241fb3;
$custom-light: #7a5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#241fb3",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 242.027,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38117,
    "c": 0.2173,
    "h": 270.9
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#241FB3
secondary
#C7CA64
accent
#ED3BE7
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #241FB3

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

Preview Lab → · Contrast checker → · Palette generator →

#241FB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva