#002FA8#002FA8

#002FA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.197 H 263.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#002FA8
RGBrgb(0, 47, 168)
HSLhsl(223, 100%, 33%)
HSVhsv(223, 100%, 66%)
CMYKcmyk(100%, 72%, 0%, 34.1%)
CIE-LABlab(26.33, 37.41, -67.27)
CIE-LCHlch(26.33, 76.98, 299.08°)
OKLaboklab(37.96% -0.0231 -0.1953)
OKLCHoklch(37.96% 0.197 263.3)
XYZxyz(8.0819, 4.8591, 37.5501)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#002FA8 #A87900
analogous
#0083A8 #002FA8 #2500A8
triadic
#002FA8 #A8002F #2FA800
tetradic
#002FA8 #A80083 #A87900 #00A825
square
#002FA8 #A80083 #A87900 #00A825
split-complementary
#002FA8 #A82500 #83A800
monochromatic
#000D2E #001E6B #002FA8 #0040E5 #2361FF

Accessibility & contrast

On white

10.65
#002FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#002FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #002FA8
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##002FA8#FFFFFF#000000##FFFFFF
##002FA81.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #002fa8;
/* rgb */ color: rgb(0, 47, 168);
/* oklch */ color: oklch(38.0% 0.197 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f67c3',
    500: '#002fa8',
    950: '#000000',
  },
}
SCSS
$custom: #002fa8;
$custom-light: #6f67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#002fa8",
  "rgb": {
    "r": 0,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 223.214,
    "s": 100,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37961,
    "c": 0.19664,
    "h": 263.3
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#002FA8
secondary
#D9A82A
accent
#C329FF
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#090613
muted
#7B7A82

Preview Lab

Preview with #002FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#002FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva