#232F9C#232F9C

#232F9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.175 H 270.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#232F9C
RGBrgb(35, 47, 156)
HSLhsl(234, 63%, 37%)
HSVhsv(234, 78%, 61%)
CMYKcmyk(77.6%, 69.9%, 0%, 38.8%)
CIE-LABlab(26.13, 34.84, -60.29)
CIE-LCHlch(26.13, 69.63, 300.03°)
OKLaboklab(37.74% 0.0006 -0.1745)
OKLCHoklch(37.74% 0.175 270.2)
XYZxyz(7.7084, 4.7898, 31.9643)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F9C #9C9023
analogous
#236B9C #232F9C #54239C
triadic
#232F9C #9C232F #2F9C23
tetradic
#232F9C #9C236B #9C9023 #239C54
square
#232F9C #9C236B #9C9023 #239C54
split-complementary
#232F9C #9C5423 #6B9C23
monochromatic
#0D1138 #18206A #232F9C #2E3ECE #5E6BDB

Accessibility & contrast

On white

10.72
#232F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#232F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F9C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F9C#FFFFFF#000000##FFFFFF
##232F9C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #232f9c;
/* rgb */ color: rgb(35, 47, 156);
/* oklch */ color: oklch(37.7% 0.175 270.2);
Tailwind
colors: {
  custom: {
    50: '#7368ba',
    500: '#232f9c',
    950: '#000000',
  },
}
SCSS
$custom: #232f9c;
$custom-light: #7368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#232f9c",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 234.05,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.17451,
    "h": 270.2
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#232F9C
secondary
#C0B65B
accent
#D641E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #232F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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