#262F8C#262F8C

#262F8C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.152 H 272.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#262F8C
RGBrgb(38, 47, 140)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 73%, 55%)
CMYKcmyk(72.9%, 66.4%, 0%, 45.1%)
CIE-LABlab(24.76, 29.29, -52.68)
CIE-LCHlch(24.76, 60.27, 299.07°)
OKLaboklab(36.32% 0.0052 -0.1522)
OKLCHoklch(36.32% 0.152 272)
XYZxyz(6.5479, 4.3379, 25.2981)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F8C #8C8326
analogous
#26628C #262F8C #50268C
triadic
#262F8C #8C262F #2F8C26
tetradic
#262F8C #8C2662 #8C8326 #268C50
square
#262F8C #8C2662 #8C8326 #268C50
split-complementary
#262F8C #8C5026 #628C26
monochromatic
#0C0F2C #191F5C #262F8C #333FBC #5A65D2

Accessibility & contrast

On white

11.24
#262F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#262F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F8C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F8C#FFFFFF#000000##FFFFFF
##262F8C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #262f8c;
/* rgb */ color: rgb(38, 47, 140);
/* oklch */ color: oklch(36.3% 0.152 272.0);
Tailwind
colors: {
  custom: {
    50: '#7067ae',
    500: '#262f8c',
    950: '#000000',
  },
}
SCSS
$custom: #262f8c;
$custom-light: #7067ae;
$custom-dark: #000000;
JSON
{
  "hex": "#262f8c",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 234.706,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.15229,
    "h": 272
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#262F8C
secondary
#B7AF57
accent
#D347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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