#202F68#202F68

#202F68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.102 H 269.1°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#202F68
RGBrgb(32, 47, 104)
HSLhsl(228, 53%, 27%)
HSVhsv(228, 69%, 41%)
CMYKcmyk(69.2%, 54.8%, 0%, 59.2%)
CIE-LABlab(21.35, 14.49, -35.38)
CIE-LCHlch(21.35, 38.23, 292.27°)
OKLaboklab(32.74% -0.0017 -0.1015)
OKLCHoklch(32.74% 0.102 269.1)
XYZxyz(4.1100, 3.3392, 13.5220)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202F68 #685920
analogous
#205368 #202F68 #352068
triadic
#202F68 #68202F #2F6820
tetradic
#202F68 #682053 #685920 #206835
square
#202F68 #682053 #685920 #206835
split-complementary
#202F68 #683520 #536820
monochromatic
#070B17 #121A39 #202F68 #2E4497 #3F5AC4

Accessibility & contrast

On white

12.59
#202F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202F68
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202F68#FFFFFF#000000##FFFFFF
##202F681.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202f68;
/* rgb */ color: rgb(32, 47, 104);
/* oklch */ color: oklch(32.7% 0.102 269.1);
Tailwind
colors: {
  custom: {
    50: '#656794',
    500: '#202f68',
    950: '#000000',
  },
}
SCSS
$custom: #202f68;
$custom-light: #656794;
$custom-dark: #000000;
JSON
{
  "hex": "#202f68",
  "rgb": {
    "r": 32,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 227.5,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.10154,
    "h": 269.1
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#202F68
secondary
#9C8B48
accent
#BE4BDC
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #202F68

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

Preview Lab → · Contrast checker → · Palette generator →

#202F68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva