#232F9F#232F9F

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

Color values

HEX#232F9F
RGBrgb(35, 47, 159)
HSLhsl(234, 64%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(78%, 70.4%, 0%, 37.6%)
CIE-LABlab(26.43, 35.93, -61.62)
CIE-LCHlch(26.43, 71.34, 300.25°)
OKLaboklab(38.04% 0.0002 -0.1784)
OKLCHoklch(38.04% 0.178 270.1)
XYZxyz(7.9655, 4.8927, 33.3187)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F9F #9F9323
analogous
#236D9F #232F9F #55239F
triadic
#232F9F #9F232F #2F9F23
tetradic
#232F9F #9F236D #9F9323 #239F55
square
#232F9F #9F236D #9F9323 #239F55
split-complementary
#232F9F #9F5523 #6D9F23
monochromatic
#0D113B #18206D #232F9F #2E3ED1 #606CDC

Accessibility & contrast

On white

10.61
#232F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#232F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F9F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F9F#FFFFFF#000000##FFFFFF
##232F9F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #232f9f;
/* rgb */ color: rgb(35, 47, 159);
/* oklch */ color: oklch(38.0% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#7368bc',
    500: '#232f9f',
    950: '#000000',
  },
}
SCSS
$custom: #232f9f;
$custom-light: #7368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#232f9f",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 234.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38044,
    "c": 0.17841,
    "h": 270.1
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#232F9F
secondary
#C1B75D
accent
#D741E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #232F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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