#232F7F#232F7F

#232F7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.135 H 271.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#232F7F
RGBrgb(35, 47, 127)
HSLhsl(232, 57%, 32%)
HSVhsv(232, 72%, 50%)
CMYKcmyk(72.4%, 63%, 0%, 50.2%)
CIE-LABlab(23.41, 23.97, -46.75)
CIE-LCHlch(23.41, 52.54, 297.15°)
OKLaboklab(34.92% 0.0025 -0.1349)
OKLCHoklch(34.92% 0.135 271)
XYZxyz(5.5391, 3.9221, 20.5397)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F7F #7F7323
analogous
#235D7F #232F7F #45237F
triadic
#232F7F #7F232F #2F7F23
tetradic
#232F7F #7F235D #7F7323 #237F45
square
#232F7F #7F235D #7F7323 #237F45
split-complementary
#232F7F #7F4523 #5D7F23
monochromatic
#090B1F #161D4F #232F7F #3041AF #4E5FCE

Accessibility & contrast

On white

11.77
#232F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F7F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F7F#FFFFFF#000000##FFFFFF
##232F7F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232f7f;
/* rgb */ color: rgb(35, 47, 127);
/* oklch */ color: oklch(34.9% 0.135 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b67a5',
    500: '#232f7f',
    950: '#000000',
  },
}
SCSS
$custom: #232f7f;
$custom-light: #6b67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#232f7f",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 232.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34918,
    "c": 0.13491,
    "h": 271
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#232F7F
secondary
#B1A44C
accent
#CC48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #232F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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