#262A74#262A74

#262A74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.125 H 274.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#262A74
RGBrgb(38, 42, 116)
HSLhsl(237, 51%, 30%)
HSVhsv(237, 67%, 45%)
CMYKcmyk(67.2%, 63.8%, 0%, 54.5%)
CIE-LABlab(21.31, 23.70, -43.17)
CIE-LCHlch(21.31, 49.25, 298.77°)
OKLaboklab(33.12% 0.0107 -0.1243)
OKLCHoklch(33.12% 0.125 274.9)
XYZxyz(4.7786, 3.3285, 16.9103)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A74 #747026
analogous
#265174 #262A74 #492674
triadic
#262A74 #74262A #2A7426
tetradic
#262A74 #742651 #747026 #267449
square
#262A74 #742651 #747026 #267449
split-complementary
#262A74 #744926 #517426
monochromatic
#080918 #171946 #262A74 #353BA2 #4F55C5

Accessibility & contrast

On white

12.61
#262A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A74
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A74#FFFFFF#000000##FFFFFF
##262A741.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262a74;
/* rgb */ color: rgb(38, 42, 116);
/* oklch */ color: oklch(33.1% 0.125 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b639d',
    500: '#262a74',
    950: '#000000',
  },
}
SCSS
$custom: #262a74;
$custom-light: #6b639d;
$custom-dark: #000000;
JSON
{
  "hex": "#262a74",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 236.923,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.1248,
    "h": 274.9
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#262A74
secondary
#A6A24F
accent
#D34EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262A74

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

Preview Lab → · Contrast checker → · Palette generator →

#262A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva