#232F9E#232F9E

#232F9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.177 H 270.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#232F9E
RGBrgb(35, 47, 158)
HSLhsl(234, 64%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(77.8%, 70.3%, 0%, 38%)
CIE-LABlab(26.33, 35.57, -61.18)
CIE-LCHlch(26.33, 70.77, 300.17°)
OKLaboklab(37.94% 0.0003 -0.1771)
OKLCHoklch(37.94% 0.177 270.1)
XYZxyz(7.8791, 4.8581, 32.8636)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F9E #9E9223
analogous
#236D9E #232F9E #54239E
triadic
#232F9E #9E232F #2F9E23
tetradic
#232F9E #9E236D #9E9223 #239E54
square
#232F9E #9E236D #9E9223 #239E54
split-complementary
#232F9E #9E5423 #6D9E23
monochromatic
#0D113A #18206C #232F9E #2E3ED0 #606CDC

Accessibility & contrast

On white

10.65
#232F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#232F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F9E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F9E#FFFFFF#000000##FFFFFF
##232F9E1.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)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #232f9e;
/* rgb */ color: rgb(35, 47, 158);
/* oklch */ color: oklch(37.9% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#7368bc',
    500: '#232f9e',
    950: '#000000',
  },
}
SCSS
$custom: #232f9e;
$custom-light: #7368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#232f9e",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 234.146,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37941,
    "c": 0.17712,
    "h": 270.1
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#232F9E
secondary
#C1B75C
accent
#D741E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #232F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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