#232F7E#232F7E

#232F7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.133 H 271.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#232F7E
RGBrgb(35, 47, 126)
HSLhsl(232, 57%, 32%)
HSVhsv(232, 72%, 49%)
CMYKcmyk(72.2%, 62.7%, 0%, 50.6%)
CIE-LABlab(23.33, 23.59, -46.26)
CIE-LCHlch(23.33, 51.93, 297.02°)
OKLaboklab(34.83% 0.0025 -0.1335)
OKLCHoklch(34.83% 0.133 271.1)
XYZxyz(5.4743, 3.8962, 20.1982)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F7E #7E7223
analogous
#235D7E #232F7E #45237E
triadic
#232F7E #7E232F #2F7E23
tetradic
#232F7E #7E235D #7E7223 #237E45
square
#232F7E #7E235D #7E7223 #237E45
split-complementary
#232F7E #7E4523 #5D7E23
monochromatic
#080B1E #161D4E #232F7E #3041AE #4E5FCE

Accessibility & contrast

On white

11.80
#232F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232F7E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F7E#FFFFFF#000000##FFFFFF
##232F7E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232f7e;
/* rgb */ color: rgb(35, 47, 126);
/* oklch */ color: oklch(34.8% 0.133 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b67a4',
    500: '#232f7e',
    950: '#000000',
  },
}
SCSS
$custom: #232f7e;
$custom-light: #6b67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#232f7e",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 232.088,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34827,
    "c": 0.13347,
    "h": 271.1
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#232F7E
secondary
#B0A34C
accent
#CC48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #232F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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