#262E72#262E72

#262E72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.116 H 273.4°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#262E72
RGBrgb(38, 46, 114)
HSLhsl(234, 50%, 30%)
HSVhsv(234, 67%, 45%)
CMYKcmyk(66.7%, 59.6%, 0%, 55.3%)
CIE-LABlab(22.23, 20.18, -40.39)
CIE-LCHlch(22.23, 45.15, 296.54°)
OKLaboklab(33.75% 0.0068 -0.1161)
OKLCHoklch(33.75% 0.116 273.4)
XYZxyz(4.8126, 3.5806, 16.3538)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E72 #726A26
analogous
#265472 #262E72 #442672
triadic
#262E72 #72262E #2E7226
tetradic
#262E72 #722654 #726A26 #267244
square
#262E72 #722654 #726A26 #267244
split-complementary
#262E72 #724426 #547226
monochromatic
#080917 #171B44 #262E72 #3541A0 #4E5BC4

Accessibility & contrast

On white

12.24
#262E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E72
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E72#FFFFFF#000000##FFFFFF
##262E721.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262e72;
/* rgb */ color: rgb(38, 46, 114);
/* oklch */ color: oklch(33.8% 0.116 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a669b',
    500: '#262e72',
    950: '#000000',
  },
}
SCSS
$custom: #262e72;
$custom-light: #6a669b;
$custom-dark: #000000;
JSON
{
  "hex": "#262e72",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 233.684,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.11634,
    "h": 273.4
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#262E72
secondary
#A59C4F
accent
#CB4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E72

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

Preview Lab → · Contrast checker → · Palette generator →

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