#262F7A#262F7A

#262F7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.127 H 272.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#262F7A
RGBrgb(38, 47, 122)
HSLhsl(234, 53%, 31%)
HSVhsv(234, 69%, 48%)
CMYKcmyk(68.9%, 61.5%, 0%, 52.2%)
CIE-LABlab(23.17, 22.52, -43.98)
CIE-LCHlch(23.17, 49.41, 297.12°)
OKLaboklab(34.65% 0.006 -0.1267)
OKLCHoklch(34.65% 0.127 272.7)
XYZxyz(5.3275, 3.8498, 18.8709)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F7A #7A7126
analogous
#26597A #262F7A #47267A
triadic
#262F7A #7A262F #2F7A26
tetradic
#262F7A #7A2659 #7A7126 #267A47
square
#262F7A #7A2659 #7A7126 #267A47
split-complementary
#262F7A #7A4726 #597A26
monochromatic
#090B1D #171D4B #262F7A #3541A9 #515EC9

Accessibility & contrast

On white

11.86
#262F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F7A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F7A#FFFFFF#000000##FFFFFF
##262F7A1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262f7a;
/* rgb */ color: rgb(38, 47, 122);
/* oklch */ color: oklch(34.7% 0.127 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b67a1',
    500: '#262f7a',
    950: '#000000',
  },
}
SCSS
$custom: #262f7a;
$custom-light: #6b67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262f7a",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 233.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.1268,
    "h": 272.7
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#262F7A
secondary
#ACA250
accent
#CC4CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #262F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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