#2F269C#2F269C

#2F269C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.181 H 276.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2F269C
RGBrgb(47, 38, 156)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 61%)
CMYKcmyk(69.9%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.92, 41.49, -62.25)
CIE-LCHlch(24.92, 74.81, 303.68°)
OKLaboklab(37.07% 0.0198 -0.1799)
OKLCHoklch(37.07% 0.181 276.3)
XYZxyz(7.8642, 4.3901, 31.8790)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F269C #939C26
analogous
#26589C #2F269C #6A269C
triadic
#2F269C #9C2F26 #269C2F
tetradic
#2F269C #9C2658 #939C26 #269C6A
square
#2F269C #9C2658 #939C26 #269C6A
split-complementary
#2F269C #9C6A26 #589C26
monochromatic
#110E3A #201A6B #2F269C #3E32CD #6C63D9

Accessibility & contrast

On white

11.18
#2F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F269C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F269C#FFFFFF#000000##FFFFFF
##2F269C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f269c;
/* rgb */ color: rgb(47, 38, 156);
/* oklch */ color: oklch(37.1% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#2f269c',
    950: '#000000',
  },
}
SCSS
$custom: #2f269c;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f269c",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 244.576,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.181,
    "h": 276.3
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#2F269C
secondary
#B7BF5F
accent
#E444D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F269C

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

Preview Lab → · Contrast checker → · Palette generator →

#2F269C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva