#262B74#262B74

#262B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.123 H 274.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#262B74
RGBrgb(38, 43, 116)
HSLhsl(236, 51%, 30%)
HSVhsv(236, 67%, 45%)
CMYKcmyk(67.2%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.58, 23.02, -42.73)
CIE-LCHlch(21.58, 48.54, 298.31°)
OKLaboklab(33.32% 0.0097 -0.1231)
OKLCHoklch(33.32% 0.123 274.5)
XYZxyz(4.8146, 3.4004, 16.9222)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B74 #746F26
analogous
#265274 #262B74 #482674
triadic
#262B74 #74262B #2B7426
tetradic
#262B74 #742652 #746F26 #267448
square
#262B74 #742652 #746F26 #267448
split-complementary
#262B74 #744826 #527426
monochromatic
#080918 #171A46 #262B74 #353CA2 #4F57C5

Accessibility & contrast

On white

12.50
#262B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B74
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B74#FFFFFF#000000##FFFFFF
##262B741.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b74;
/* rgb */ color: rgb(38, 43, 116);
/* oklch */ color: oklch(33.3% 0.123 274.5);
Tailwind
colors: {
  custom: {
    50: '#6a649d',
    500: '#262b74',
    950: '#000000',
  },
}
SCSS
$custom: #262b74;
$custom-light: #6a649d;
$custom-dark: #000000;
JSON
{
  "hex": "#262b74",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 236.154,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.12344,
    "h": 274.5
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#262B74
secondary
#A6A14F
accent
#D14EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262B74

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

Preview Lab → · Contrast checker → · Palette generator →

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