#232F7A#232F7A

#232F7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.128 H 271.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#232F7A
RGBrgb(35, 47, 122)
HSLhsl(232, 55%, 31%)
HSVhsv(232, 71%, 48%)
CMYKcmyk(71.3%, 61.5%, 0%, 52.2%)
CIE-LABlab(22.98, 22.05, -44.29)
CIE-LCHlch(22.98, 49.47, 296.46°)
OKLaboklab(34.47% 0.0025 -0.1277)
OKLCHoklch(34.47% 0.128 271.1)
XYZxyz(5.2213, 3.7950, 18.8659)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F7A #7A6E23
analogous
#235A7A #232F7A #42237A
triadic
#232F7A #7A232F #2F7A23
tetradic
#232F7A #7A235A #7A6E23 #237A42
square
#232F7A #7A235A #7A6E23 #237A42
split-complementary
#232F7A #7A4223 #5A7A23
monochromatic
#080A1B #151D4A #232F7A #3141AA #4C5DCC

Accessibility & contrast

On white

11.94
#232F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F7A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F7A#FFFFFF#000000##FFFFFF
##232F7A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232f7a;
/* rgb */ color: rgb(35, 47, 122);
/* oklch */ color: oklch(34.5% 0.128 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a1',
    500: '#232f7a',
    950: '#000000',
  },
}
SCSS
$custom: #232f7a;
$custom-light: #6a67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#232f7a",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 231.724,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.12768,
    "h": 271.1
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#232F7A
secondary
#AD9F4C
accent
#CA49DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #232F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#232F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva