#272F94#272F94

#272F94 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.163 H 272.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#272F94
RGBrgb(39, 47, 148)
HSLhsl(236, 58%, 37%)
HSVhsv(236, 74%, 58%)
CMYKcmyk(73.6%, 68.2%, 0%, 42%)
CIE-LABlab(25.57, 32.35, -56.30)
CIE-LCHlch(25.57, 64.93, 299.89°)
OKLaboklab(37.15% 0.0057 -0.1628)
OKLCHoklch(37.15% 0.163 272)
XYZxyz(7.1967, 4.6018, 28.5202)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F94 #948C27
analogous
#276694 #272F94 #562794
triadic
#272F94 #94272F #2F9427
tetradic
#272F94 #942766 #948C27 #279456
square
#272F94 #942766 #948C27 #279456
split-complementary
#272F94 #945627 #669427
monochromatic
#0D1033 #1A2064 #272F94 #343EC4 #6069D5

Accessibility & contrast

On white

10.94
#272F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#272F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F94
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F94#FFFFFF#000000##FFFFFF
##272F941.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272f94;
/* rgb */ color: rgb(39, 47, 148);
/* oklch */ color: oklch(37.2% 0.163 272.0);
Tailwind
colors: {
  custom: {
    50: '#7268b4',
    500: '#272f94',
    950: '#000000',
  },
}
SCSS
$custom: #272f94;
$custom-light: #7268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272f94",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 235.596,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37154,
    "c": 0.16286,
    "h": 272
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#272F94
secondary
#BBB45C
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F94

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

Preview Lab → · Contrast checker → · Palette generator →

#272F94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva