#272EAF#272EAF

#272EAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.199 H 270.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#272EAF
RGBrgb(39, 46, 175)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(77.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.06, 42.53, -68.58)
CIE-LCHlch(28.06, 80.70, 301.80°)
OKLaboklab(39.76% 0.0028 -0.1986)
OKLCHoklch(39.76% 0.199 270.8)
XYZxyz(9.5489, 5.4794, 41.1035)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EAF #AFA827
analogous
#2772AF #272EAF #6427AF
triadic
#272EAF #AF272E #2EAF27
tetradic
#272EAF #AF2772 #AFA827 #27AF64
square
#272EAF #AF2772 #AFA827 #27AF64
split-complementary
#272EAF #AF6427 #72AF27
monochromatic
#11144B #1C217D #272EAF #3F47D4 #7177DF

Accessibility & contrast

On white

10.02
#272EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#272EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EAF
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EAF#FFFFFF#000000##FFFFFF
##272EAF1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272eaf;
/* rgb */ color: rgb(39, 46, 175);
/* oklch */ color: oklch(39.8% 0.199 270.8);
Tailwind
colors: {
  custom: {
    50: '#7968c8',
    500: '#272eaf',
    950: '#000000',
  },
}
SCSS
$custom: #272eaf;
$custom-light: #7968c8;
$custom-dark: #000000;
JSON
{
  "hex": "#272eaf",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 236.912,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.19861,
    "h": 270.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#272EAF
secondary
#C6C26B
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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